mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gst/avi/gstavidemux.c: Don't unref the GstPadTemplate returned by gst_element_class_get_pad_template().
Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream): Don't unref the GstPadTemplate returned by gst_element_class_get_pad_template().
This commit is contained in:
parent
7a7a2109fa
commit
200bb9a5c8
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-04-07 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream):
|
||||
Don't unref the GstPadTemplate returned by
|
||||
gst_element_class_get_pad_template().
|
||||
|
||||
2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Brian Cameron <brian dot cameron at sun dot com>
|
||||
|
|
|
@ -1127,7 +1127,6 @@ gst_avi_demux_parse_stream (GstElement * element, GstBuffer * buf)
|
|||
if (stream->pad)
|
||||
gst_object_unref (stream->pad);
|
||||
pad = stream->pad = gst_pad_new_from_template (templ, padname);
|
||||
gst_object_unref (templ);
|
||||
stream->last_flow = GST_FLOW_OK;
|
||||
stream->idx_duration = GST_CLOCK_TIME_NONE;
|
||||
g_free (padname);
|
||||
|
|
Loading…
Reference in a new issue