Merge pull request #1928 from cg2121/no-tracks-selected

UI: Use stream track if no tracks are selected
This commit is contained in:
Jim authored and GitHub committed 2019-06-17 17:27:15 -07:00
commit 6b60b28e51
1 file changed
+3
+3
View File
@@ -1290,6 +1290,9 @@ inline void AdvancedOutput::SetupRecording()
unsigned int cy = 0;
int idx = 0;
if (tracks == 0)
tracks = config_get_int(main->Config(), "AdvOut", "TrackIndex");
if (useStreamEncoder) {
obs_output_set_video_encoder(fileOutput, h264Streaming);
if (replayBuffer)