mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
1d09aeb36d
commit
93933f17fa
2 changed files with 10 additions and 2 deletions
|
@ -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>
|
2005-11-22 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* ext/mad/gstmad.c: (gst_mad_chain):
|
* ext/mad/gstmad.c: (gst_mad_chain):
|
||||||
|
|
|
@ -92,7 +92,8 @@ static void gst_mpeg_parse_init (GstMPEGParse * mpeg_parse);
|
||||||
static GstStateChangeReturn gst_mpeg_parse_change_state (GstElement * element,
|
static GstStateChangeReturn gst_mpeg_parse_change_state (GstElement * element,
|
||||||
GstStateChange transition);
|
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,
|
static gboolean gst_mpeg_parse_parse_packhead (GstMPEGParse * mpeg_parse,
|
||||||
GstBuffer * buffer);
|
GstBuffer * buffer);
|
||||||
|
@ -269,12 +270,14 @@ gst_mpeg_parse_init (GstMPEGParse * mpeg_parse)
|
||||||
gst_mpeg_parse_reset (mpeg_parse);
|
gst_mpeg_parse_reset (mpeg_parse);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static gboolean
|
||||||
gst_mpeg_parse_set_clock (GstElement * element, GstClock * clock)
|
gst_mpeg_parse_set_clock (GstElement * element, GstClock * clock)
|
||||||
{
|
{
|
||||||
GstMPEGParse *parse = GST_MPEG_PARSE (element);
|
GstMPEGParse *parse = GST_MPEG_PARSE (element);
|
||||||
|
|
||||||
parse->clock = clock;
|
parse->clock = clock;
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in a new issue