diff --git a/ChangeLog b/ChangeLog index 274c528a02..62f263e24f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-22 Wim Taymans + + * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_set_clock): + set_clock returns a boolean. + 2005-11-22 Tim-Philipp Müller * ext/mad/gstmad.c: (gst_mad_chain): diff --git a/gst/mpegstream/gstmpegparse.c b/gst/mpegstream/gstmpegparse.c index 5c51d1280d..157bd686b7 100644 --- a/gst/mpegstream/gstmpegparse.c +++ b/gst/mpegstream/gstmpegparse.c @@ -92,7 +92,8 @@ static void gst_mpeg_parse_init (GstMPEGParse * mpeg_parse); static GstStateChangeReturn gst_mpeg_parse_change_state (GstElement * element, GstStateChange transition); -static void gst_mpeg_parse_set_clock (GstElement * element, GstClock * clock); +static gboolean gst_mpeg_parse_set_clock (GstElement * element, + GstClock * clock); static gboolean gst_mpeg_parse_parse_packhead (GstMPEGParse * mpeg_parse, GstBuffer * buffer); @@ -269,12 +270,14 @@ gst_mpeg_parse_init (GstMPEGParse * mpeg_parse) gst_mpeg_parse_reset (mpeg_parse); } -static void +static gboolean gst_mpeg_parse_set_clock (GstElement * element, GstClock * clock) { GstMPEGParse *parse = GST_MPEG_PARSE (element); parse->clock = clock; + + return TRUE; } #if 0