From eabcaa1a56ff9ab6a671f9d532a2327210e4315f Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 5 Dec 2019 14:23:04 -0300 Subject: [PATCH] pipeline: Ensure that encodebin enforces a single segment sent to encoders --- ges/ges-pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ges/ges-pipeline.c b/ges/ges-pipeline.c index a30b12b592..44eb71d62e 100644 --- a/ges/ges-pipeline.c +++ b/ges/ges-pipeline.c @@ -1075,6 +1075,7 @@ ges_pipeline_set_render_settings (GESPipeline * pipeline, continue; GST_DEBUG_OBJECT (pipeline, "Setting presence to 1!"); + gst_encoding_profile_set_single_segment (tmpprofiles->data, TRUE); gst_encoding_profile_set_presence (tmpprofiles->data, 1); gst_encoding_profile_set_allow_dynamic_output (tmpprofiles->data, FALSE); }