summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-03-09 20:02:44 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-03-09 20:02:44 +0000
commit212c802ce21fc247d8fb1f59dc84c7ee9435ebb7 (patch)
tree96de935733105db74145cbebad45c45d1f21eca8 /gst/qtdemux
parent47575c6de1d0513cbdecff7647acb514ad53184f (diff)
downloadgst-plugins-bad-212c802ce21fc247d8fb1f59dc84c7ee9435ebb7.tar.gz
gst-plugins-bad-212c802ce21fc247d8fb1f59dc84c7ee9435ebb7.tar.bz2
gst-plugins-bad-212c802ce21fc247d8fb1f59dc84c7ee9435ebb7.zip
gst/qtdemux/qtdemux.c: Fix build with gcc-4.1 (#327355).
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_send_event): Fix build with gcc-4.1 (#327355).
Diffstat (limited to 'gst/qtdemux')
-rw-r--r--gst/qtdemux/qtdemux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 4d8df982..73353102 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -449,8 +449,7 @@ gst_qtdemux_send_event (GstQTDemux * qtdemux, GstEvent * event)
GST_EVENT_TYPE_NAME (event));
for (n = 0; n < qtdemux->n_streams; n++) {
- gst_event_ref (event);
- gst_pad_push_event (qtdemux->streams[n]->pad, event);
+ gst_pad_push_event (qtdemux->streams[n]->pad, gst_event_ref (event));
}
gst_event_unref (event);
}