mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 12:21:17 +00:00
ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Run update-funcnames.
Original commit message from CVS: 2005-11-22 Andy Wingo <wingo@pobox.com> * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Run update-funcnames.
This commit is contained in:
parent
888d95d8bd
commit
93242ea4c3
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-22 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Run
|
||||
update-funcnames.
|
||||
|
||||
2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
|
||||
|
|
|
@ -990,7 +990,7 @@ gst_ffmpegdec_sink_event (GstPad * pad, GstEvent * event)
|
|||
gdouble rate;
|
||||
GstFormat fmt;
|
||||
|
||||
gst_event_parse_newsegment (event, NULL, &rate, &fmt, &start, &end,
|
||||
gst_event_parse_new_segment (event, NULL, &rate, &fmt, &start, &end,
|
||||
&base);
|
||||
if (fmt == GST_FORMAT_TIME) {
|
||||
ffmpegdec->next_ts = start;
|
||||
|
@ -1007,7 +1007,7 @@ gst_ffmpegdec_sink_event (GstPad * pad, GstEvent * event)
|
|||
end,
|
||||
GST_TIME_ARGS (end * GST_SECOND / ffmpegdec->context->bit_rate));
|
||||
gst_event_unref (event);
|
||||
event = gst_event_new_newsegment (FALSE, rate, fmt,
|
||||
event = gst_event_new_new_segment (FALSE, rate, fmt,
|
||||
start * GST_SECOND / ffmpegdec->context->bit_rate,
|
||||
end == -1 ? -1 : end * GST_SECOND / ffmpegdec->context->bit_rate,
|
||||
base * GST_SECOND / ffmpegdec->context->bit_rate);
|
||||
|
|
Loading…
Reference in a new issue