summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-08-25 19:56:58 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-08-26 10:25:46 +0200
commitf3cb4439cf54dfc42f5c7270ff2454778d9cc213 (patch)
treea94f9b26fdbd402f5ba6b85c7c68a9990b057b38
parente380fbb0198244e02ef1795d67878c584a04fa96 (diff)
basevideoencoder: fix element leak
and this concludes an hour of yelling at the bloody test failing, only to track down the problem not being in the test. https://bugzilla.gnome.org/show_bug.cgi?id=657368
-rw-r--r--gst-libs/gst/video/gstbasevideoencoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/video/gstbasevideoencoder.c b/gst-libs/gst/video/gstbasevideoencoder.c
index e1c2c77a6..5baa4b0d2 100644
--- a/gst-libs/gst/video/gstbasevideoencoder.c
+++ b/gst-libs/gst/video/gstbasevideoencoder.c
@@ -432,6 +432,7 @@ done:
GST_LOG_OBJECT (base_video_encoder, "Returning caps %" GST_PTR_FORMAT, fcaps);
+ g_object_unref (base_video_encoder);
return fcaps;
}