timelinepipeline: fix caps leak
authorTim-Philipp Müller <tim@centricular.net>
Thu, 27 Jun 2013 23:24:33 +0000 (00:24 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 27 Jun 2013 23:24:33 +0000 (00:24 +0100)
ges/ges-timeline-pipeline.c

index 0da779d..45f0470 100644 (file)
@@ -403,6 +403,7 @@ ges_timeline_pipeline_update_caps (GESTimelinePipeline * self)
             rcaps = gst_caps_new_empty_simple ("video/x-raw");
           gst_caps_append (ocaps, rcaps);
           ges_track_set_caps (track, ocaps);
+          gst_caps_unref (ocaps);
         } else {
           GstCaps *caps = NULL;