gst/qtdemux/qtdemux.c: Fix build with gcc-4.1 (#327355).
authorTim-Philipp Müller <tim@centricular.net>
Thu, 9 Mar 2006 20:02:44 +0000 (20:02 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 9 Mar 2006 20:02:44 +0000 (20:02 +0000)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_send_event):
Fix build with gcc-4.1 (#327355).

common
gst/qtdemux/qtdemux.c

diff --git a/common b/common
index d576cc6..9200457 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit d576cc6779aa9555121d4c78ab69cc620fae3e2b
+Subproject commit 9200457d08a57f0d7eaeb56915804fa8faf14418
index 4d8df98..7335310 100644 (file)
@@ -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);
 }