From 943f89b87388f83b3f362c3bf7a09acf32ef76f7 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Tue, 10 Feb 2015 19:37:31 -0800 Subject: [PATCH] UI: Apply service encoder settings (simple output) Ensures that the current service's encoder settings are applied to the encoders used with the simple output. This is always on for simple output so users don't have to mess with it themselves. --- obs/window-basic-main-outputs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obs/window-basic-main-outputs.cpp b/obs/window-basic-main-outputs.cpp index 602174eb..ddede0f8 100644 --- a/obs/window-basic-main-outputs.cpp +++ b/obs/window-basic-main-outputs.cpp @@ -144,6 +144,8 @@ inline void SimpleOutput::SetupOutputs() SimpleOutput::Update(); obs_encoder_set_video(h264, obs_get_video()); obs_encoder_set_audio(aac, obs_get_audio()); + + obs_service_apply_encoder_settings(main->GetService(), h264, aac); } bool SimpleOutput::StartStreaming(obs_service_t *service) -- GitLab