projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb65696
)
x264enc: fix caps leak in set_format()
author
Aurélien Zanelli
<aurelien.zanelli@parrot.com>
Wed, 28 May 2014 07:49:59 +0000
(09:49 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 28 May 2014 08:09:41 +0000
(10:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=730865
ext/x264/gstx264enc.c
patch
|
blob
|
history
diff --git
a/ext/x264/gstx264enc.c
b/ext/x264/gstx264enc.c
index 61e7698f5e38fcc3ee4cb942e49564f85b6f5dcc..3d81d962eae8d8adbe4491c9c6c5a8553a0663d9 100644
(file)
--- a/
ext/x264/gstx264enc.c
+++ b/
ext/x264/gstx264enc.c
@@
-1804,6
+1804,7
@@
gst_x264_enc_set_format (GstVideoEncoder * video_enc,
if (gst_caps_is_empty (allowed_caps)) {
gst_caps_unref (allowed_caps);
+ gst_caps_unref (template_caps);
return FALSE;
}