gst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting functions such...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 5 Jan 2004 11:17:23 +0000 (11:17 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 5 Jan 2004 11:17:23 +0000 (11:17 +0000)
Original commit message from CVS:
2004-01-05  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
Add pad to element *after* setting functions such as event handler.
Without this, the scheduler (opt) will link pads, set the event
handler from the default event function (dispatcher in gstpad.c)
and *after* that, we will set our own event function, which will
thus never be used (and thus mpegdemux doesn't handle events).

ChangeLog

index 8f2752a..6289e0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2004-01-05  Ronald Bultje  <rbultje@ronald.bitfreak.net>
+
+       * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
+         Add pad to element *after* setting functions such as event handler.
+         Without this, the scheduler (opt) will link pads, set the event
+         handler from the default event function (dispatcher in gstpad.c)
+         and *after* that, we will set our own event function, which will
+         thus never be used (and thus mpegdemux doesn't handle events).
+
 2004-01-04  David Schleef  <ds@schleef.org>
 
        Fix the fixate functions to handle new prototype: