From d75a760e4fde176160af641807f3bb087671e166 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 5 Jan 2004 11:17:23 +0000 Subject: [PATCH] gst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting functions such as event handler. Original commit message from CVS: 2004-01-05 Ronald Bultje * 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8f2752a5cb..6289e0b40e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-01-05 Ronald Bultje + + * 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 Fix the fixate functions to handle new prototype: