From 212c802ce21fc247d8fb1f59dc84c7ee9435ebb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 9 Mar 2006 20:02:44 +0000 Subject: 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). --- gst/qtdemux/qtdemux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gst/qtdemux') 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); } -- cgit v1.2.1