TimelinePipeline: Updates for pbutils API change
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 09:55:06 +0000 (10:55 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 09:55:06 +0000 (10:55 +0100)
ges/ges-timeline-pipeline.c

index 511f725..3807368 100644 (file)
@@ -199,8 +199,8 @@ ges_timeline_pipeline_update_caps (GESTimelinePipeline * self)
         if (self->priv->mode == TIMELINE_MODE_SMART_RENDER) {
           GstCaps *ocaps, *rcaps;
 
-          GST_DEBUG ("Smart Render mode, setting output caps");
-          ocaps = gst_encoding_profile_get_output_caps (prof);
+          GST_DEBUG ("Smart Render mode, setting input caps");
+          ocaps = gst_encoding_profile_get_input_caps (prof);
           if (track->type == GES_TRACK_TYPE_AUDIO)
             rcaps = gst_caps_from_string ("audio/x-raw-int;audio/x-raw-float");
           else