Browse Source

libobs: Reset mixers for "monitoring only" sources

Resets mixer values for sources that are upgrading to "monitoring only"
(the browser source)
jp9000 6 years ago
parent
commit
bc3ed7bbf7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libobs/obs.c

+ 1 - 0
libobs/obs.c

@@ -1823,6 +1823,7 @@ static obs_source_t *obs_load_source_type(obs_data_t *source_data)
 			 * automatically if they added monitoring by default in
 			 * version 24 */
 			monitoring_type = OBS_MONITORING_TYPE_MONITOR_ONLY;
+			obs_source_set_audio_mixers(source, 0xF);
 		}
 	}
 	obs_source_set_monitoring_type(