diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-08-25 19:56:58 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-08-26 10:25:46 +0200 |
commit | f3cb4439cf54dfc42f5c7270ff2454778d9cc213 (patch) | |
tree | a94f9b26fdbd402f5ba6b85c7c68a9990b057b38 | |
parent | e380fbb0198244e02ef1795d67878c584a04fa96 (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.c | 1 |
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; } |