mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
gst-libs/gst/riff/riff-read.c: Added missing refcount, fixes bug #144425
Original commit message from CVS: 2004-06-15 Zaheer Abbas Merali <zaheerabbas at merali.org> * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head): Added missing refcount, fixes bug #144425 Cheers Tim for finding the bug
This commit is contained in:
parent
36cdcd6d2f
commit
13b27c2321
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-06-15 Zaheer Abbas Merali <zaheerabbas at merali.org>
|
||||||
|
|
||||||
|
* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):
|
||||||
|
Added missing refcount, fixes bug #144425
|
||||||
|
Cheers Tim for finding the bug
|
||||||
|
|
||||||
2004-06-15 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-06-15 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* sys/v4l/gstv4l.c: (plugin_init):
|
* sys/v4l/gstv4l.c: (plugin_init):
|
||||||
|
|
|
@ -180,6 +180,7 @@ gst_riff_peek_head (GstRiffRead * riff,
|
||||||
/* Here, we might encounter EOS */
|
/* Here, we might encounter EOS */
|
||||||
gst_bytestream_get_status (riff->bs, &remaining, &event);
|
gst_bytestream_get_status (riff->bs, &remaining, &event);
|
||||||
if (GST_IS_EVENT (event)) {
|
if (GST_IS_EVENT (event)) {
|
||||||
|
gst_event_ref (event);
|
||||||
gst_pad_event_default (riff->sinkpad, event);
|
gst_pad_event_default (riff->sinkpad, event);
|
||||||
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
|
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue