[FFmpeg-devel] [PATCH 1/2] avcodec/vp9: don't set AVFrame.pkt_dts
wm4
nfxjfg at googlemail.com
Tue May 2 20:19:33 EEST 2017
On Mon, 1 May 2017 20:52:14 -0300
James Almer <jamrial at gmail.com> wrote:
> decode.c already sets it to the default value.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> libavcodec/vp9.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
> index 4d7310f6d4..3147ffa0db 100644
> --- a/libavcodec/vp9.c
> +++ b/libavcodec/vp9.c
> @@ -1125,7 +1125,6 @@ FF_DISABLE_DEPRECATION_WARNINGS
> ((AVFrame *)frame)->pkt_pts = pkt->pts;
> FF_ENABLE_DEPRECATION_WARNINGS
> #endif
> - ((AVFrame *)frame)->pkt_dts = pkt->dts;
> for (i = 0; i < 8; i++) {
> if (s->next_refs[i].f->buf[0])
> ff_thread_release_buffer(avctx, &s->next_refs[i]);
Is there any possibility the "default" value is actually wrong? It
assumes a fixed delay etc.
More information about the ffmpeg-devel
mailing list