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). --- ChangeLog | 5 +++++ common | 2 +- gst/qtdemux/qtdemux.c | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 36ee98ad..d0bf84e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-09 Tim-Philipp Müller + + * gst/qtdemux/qtdemux.c: (gst_qtdemux_send_event): + Fix build with gcc-4.1 (#327355). + 2006-03-09 Christophe Fergeau reviewed by: Tim-Philipp Müller diff --git a/common b/common index d576cc67..9200457d 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit d576cc6779aa9555121d4c78ab69cc620fae3e2b +Subproject commit 9200457d08a57f0d7eaeb56915804fa8faf14418 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