mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
timelinepipeline: make the caps from encoding profile writable
https://bugzilla.gnome.org/show_bug.cgi?id=703121
This commit is contained in:
parent
d49efabb93
commit
e4b1153846
1 changed files with 1 additions and 0 deletions
|
@ -396,6 +396,7 @@ ges_timeline_pipeline_update_caps (GESTimelinePipeline * self)
|
|||
|
||||
GST_DEBUG ("Smart Render mode, setting input caps");
|
||||
ocaps = gst_encoding_profile_get_input_caps (prof);
|
||||
ocaps = gst_caps_make_writable (ocaps);
|
||||
if (track->type == GES_TRACK_TYPE_AUDIO)
|
||||
rcaps = gst_caps_new_empty_simple ("audio/x-raw");
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue