mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-05 23:34:35 +08:00
Add pkt_dts to AVFrame, this will in the future allow multithreading decoders
to not mess up dts Originally committed as revision 26261 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -639,6 +639,8 @@ int attribute_align_arg avcodec_decode_video2(AVCodecContext *avctx, AVFrame *pi
|
||||
|
||||
emms_c(); //needed to avoid an emms_c() call before every return;
|
||||
|
||||
picture->pkt_dts= avpkt->dts;
|
||||
|
||||
if (*got_picture_ptr)
|
||||
avctx->frame_number++;
|
||||
}else
|
||||
|
Reference in New Issue
Block a user