gst/mpegstream/gstmpegparse.c: set_clock returns a boolean.

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_set_clock):
set_clock returns a boolean.
This commit is contained in:
Wim Taymans 2005-11-22 19:07:13 +00:00
parent 1d09aeb36d
commit 93933f17fa
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-11-22 Wim Taymans <wim@fluendo.com>
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_set_clock):
set_clock returns a boolean.
2005-11-22 Tim-Philipp Müller <tim at centricular dot net>
* ext/mad/gstmad.c: (gst_mad_chain):

View file

@ -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