summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2004-06-15 21:25:36 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2004-06-15 21:25:36 +0000
commit36218938a2eff5afbffb890159180cc98a6e80e0 (patch)
tree0cee5c9e7f118dd67e536e9cae1e3f0bf1be0147 /gst-libs
parent1cd9a2a3bf4a7aa093f4b654dcfeb9b71aaa6385 (diff)
downloadgst-plugins-bad-36218938a2eff5afbffb890159180cc98a6e80e0.tar.gz
gst-plugins-bad-36218938a2eff5afbffb890159180cc98a6e80e0.tar.bz2
gst-plugins-bad-36218938a2eff5afbffb890159180cc98a6e80e0.zip
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
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/riff/riff-read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c
index abae8038..6f5c5b2c 100644
--- a/gst-libs/gst/riff/riff-read.c
+++ b/gst-libs/gst/riff/riff-read.c
@@ -180,6 +180,7 @@ gst_riff_peek_head (GstRiffRead * riff,
/* Here, we might encounter EOS */
gst_bytestream_get_status (riff->bs, &remaining, &event);
if (GST_IS_EVENT (event)) {
+ gst_event_ref (event);
gst_pad_event_default (riff->sinkpad, event);
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
return FALSE;