mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
ext/ffmpeg/gstffmpegdec.c: Updated API
Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame): Updated API
This commit is contained in:
parent
1d43798752
commit
b6a91dafbc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
|
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
|
||||||
|
Updated API
|
||||||
|
|
||||||
2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
|
2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
|
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
|
||||||
|
|
|
@ -848,7 +848,7 @@ gst_ffmpegdec_frame (GstFFMpegDec * ffmpegdec,
|
||||||
if (ffmpegdec->context->time_base.num != 0 &&
|
if (ffmpegdec->context->time_base.num != 0 &&
|
||||||
ffmpegdec->context->time_base.den != 0) {
|
ffmpegdec->context->time_base.den != 0) {
|
||||||
GST_BUFFER_DURATION (outbuf) =
|
GST_BUFFER_DURATION (outbuf) =
|
||||||
gst_util_clock_time_scale (GST_SECOND,
|
gst_util_uint64_scale_int (GST_SECOND,
|
||||||
ffmpegdec->context->time_base.num,
|
ffmpegdec->context->time_base.num,
|
||||||
ffmpegdec->context->time_base.den);
|
ffmpegdec->context->time_base.den);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue