timelinepipeline: make the caps from encoding profile writable

https://bugzilla.gnome.org/show_bug.cgi?id=703121
This commit is contained in:
Руслан Ижбулатов 2013-06-26 12:57:17 +00:00 committed by Tim-Philipp Müller
parent d49efabb93
commit e4b1153846

View file

@ -396,6 +396,7 @@ ges_timeline_pipeline_update_caps (GESTimelinePipeline * self)
GST_DEBUG ("Smart Render mode, setting input caps"); GST_DEBUG ("Smart Render mode, setting input caps");
ocaps = gst_encoding_profile_get_input_caps (prof); ocaps = gst_encoding_profile_get_input_caps (prof);
ocaps = gst_caps_make_writable (ocaps);
if (track->type == GES_TRACK_TYPE_AUDIO) if (track->type == GES_TRACK_TYPE_AUDIO)
rcaps = gst_caps_new_empty_simple ("audio/x-raw"); rcaps = gst_caps_new_empty_simple ("audio/x-raw");
else else