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:
edf8728
)
imagefreeze: Unref pad template caps after usage
author
Sebastian Rasmussen
<sebras@hotmail.com>
Fri, 8 Aug 2014 10:40:49 +0000
(12:40 +0200)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Fri, 8 Aug 2014 18:54:39 +0000
(15:54 -0300)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734475
gst/imagefreeze/gstimagefreeze.c
patch
|
blob
|
history
diff --git
a/gst/imagefreeze/gstimagefreeze.c
b/gst/imagefreeze/gstimagefreeze.c
index
6eb65c3
..
9b13c14
100644
(file)
--- a/
gst/imagefreeze/gstimagefreeze.c
+++ b/
gst/imagefreeze/gstimagefreeze.c
@@
-192,6
+192,7
@@
gst_image_freeze_sink_setcaps (GstImageFreeze * self, GstCaps * caps)
GST_DEBUG_OBJECT (pad, "with: %" GST_PTR_FORMAT, othercaps);
GST_DEBUG_OBJECT (pad, "gave: %" GST_PTR_FORMAT, intersection);
gst_caps_unref (caps);
+ gst_caps_unref (othercaps);
caps = intersection;
intersection = othercaps = NULL;