pipeline: Ensure that encodebin enforces a single segment sent to encoders

This commit is contained in:
Thibault Saunier 2019-12-05 14:23:04 -03:00
parent 3d04bd2b2b
commit eabcaa1a56

View 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);
}