timelinepipeline: make the caps from encoding profile writable
authorРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 26 Jun 2013 12:57:17 +0000 (12:57 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 27 Jun 2013 23:20:14 +0000 (00:20 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=703121

ges/ges-timeline-pipeline.c

index cfe0649..0da779d 100644 (file)
@@ -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