Skip to content

Commit

Permalink
DIOS-292 crash when switching color settings (format, space, range)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludocosmo committed Apr 18, 2023
1 parent bec316b commit f5b36ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UI/window-basic-main-outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1737,6 +1737,9 @@ bool AdvancedOutput::SetupStreaming(obs_service_t *service)

/* --------------------- */

// Note LUDO: fix color space switch crash
obs_output_set_media(streamOutput, obs_get_video(), obs_get_audio());

const char *type = obs_service_get_output_type(service);
if (!type) {
type = "rtmp_output";
Expand Down

0 comments on commit f5b36ff

Please sign in to comment.