mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
gst/elements/gsttypefindelement.c (gst_type_find_element_activate): Unref found_caps after we used it.
Original commit message from CVS: * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): Unref found_caps after we used it.
This commit is contained in:
parent
327501d2bd
commit
c49861f331
3 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-02 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
|
||||
Unref found_caps after we used it.
|
||||
|
||||
2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/base/gstcollectpads.c: (gst_collectpads_peek):
|
||||
|
|
|
@ -824,6 +824,7 @@ gst_type_find_element_activate (GstPad * pad)
|
|||
/* 6 */
|
||||
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE],
|
||||
0, 100, found_caps);
|
||||
gst_caps_unref (found_caps);
|
||||
typefind->mode = MODE_NORMAL;
|
||||
/* FIXME see if I can unref the caps here */
|
||||
|
||||
|
|
|
@ -824,6 +824,7 @@ gst_type_find_element_activate (GstPad * pad)
|
|||
/* 6 */
|
||||
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE],
|
||||
0, 100, found_caps);
|
||||
gst_caps_unref (found_caps);
|
||||
typefind->mode = MODE_NORMAL;
|
||||
/* FIXME see if I can unref the caps here */
|
||||
|
||||
|
|
Loading…
Reference in a new issue