| 1115 | } |
| 1116 | |
| 1117 | void ndi_source_shown(void *data) |
| 1118 | { |
| 1119 | // NOTE: This does NOT fire when showing a source in Preview that is also in Program. |
| 1120 | auto s = (ndi_source_t *)data; |
| 1121 | auto obs_source_name = obs_source_get_name(s->obs_source); |
| 1122 | obs_log(LOG_DEBUG, "'%s' ndi_source_shown(…)", obs_source_name); |
| 1123 | s->config.tally.on_preview = tally_on_preview(s->obs_source); |
| 1124 | if (!s->running) { |
| 1125 | obs_log(LOG_DEBUG, "'%s' ndi_source_shown: Requesting Source Thread Start.", obs_source_name); |
| 1126 | ndi_source_thread_start(s); |
| 1127 | } |
| 1128 | } |
| 1129 | |
| 1130 | void ndi_source_hidden(void *data) |
| 1131 | { |
nothing calls this directly
no test coverage detected