pipeline: Ensure that encodebin enforces a single segment sent to encoders
authorThibault Saunier <tsaunier@igalia.com>
Thu, 5 Dec 2019 17:23:04 +0000 (14:23 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 5 Dec 2019 17:23:04 +0000 (14:23 -0300)
ges/ges-pipeline.c

index a30b12b..44eb71d 100644 (file)
@@ -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);
     }