From 1807bd210fbb6dd93070e0528720b34391b7f659 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller 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). --- common | 2 +- gst/qtdemux/qtdemux.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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