File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1291,7 +1291,7 @@ static void source_record_filter_tick(void *data, float seconds)
1291
1291
width += (width & 1 );
1292
1292
uint32_t height = obs_source_get_height (parent );
1293
1293
height += (height & 1 );
1294
- if (context -> width != width || context -> height != height || (! context -> video_output && width && height )) {
1294
+ if (width && height && (! context -> video_output || context -> width != width || context -> height != height )) {
1295
1295
struct obs_video_info ovi = {0 };
1296
1296
obs_get_video_info (& ovi );
1297
1297
@@ -1346,7 +1346,7 @@ static void source_record_filter_tick(void *data, float seconds)
1346
1346
} else if (!context -> output_active && obs_source_enabled (context -> source ) &&
1347
1347
(context -> replayBuffer || context -> record || context -> stream )) {
1348
1348
if (context -> starting_file_output || context -> starting_stream_output || context -> starting_replay_output ||
1349
- !context -> video_output )
1349
+ !context -> video_output || ! width || ! height )
1350
1350
return ;
1351
1351
obs_data_t * s = obs_source_get_settings (context -> source );
1352
1352
update_encoder (context , s );
You can’t perform that action at this time.
0 commit comments