mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
pipeline: Restrict the presence only if the user didn't explicitly provided one
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/198>
This commit is contained in:
parent
e6683f0c19
commit
8c622b18f6
1 changed files with 2 additions and 1 deletions
|
@ -1105,6 +1105,7 @@ ges_pipeline_set_render_settings (GESPipeline * pipeline,
|
|||
|
||||
GST_DEBUG_OBJECT (pipeline, "Setting presence to 1!");
|
||||
gst_encoding_profile_set_single_segment (tmpprofiles->data, TRUE);
|
||||
if (gst_encoding_profile_get_presence (tmpprofiles->data) == 0)
|
||||
gst_encoding_profile_set_presence (tmpprofiles->data, 1);
|
||||
gst_encoding_profile_set_allow_dynamic_output (tmpprofiles->data, FALSE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue