#11514: Cuvid decoder problem with deinterlacing
------------------------------------+-----------------------------------
Reporter: ua0lnj | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: cuvid | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by ua0lnj):
If I change
https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/99e2af4e7837ca09b97d93a562dc12947179fc48:/libavcodec/cuviddec.c#l457
to:
return ((av_fifo_can_read(ctx->frame_queue) + shift) >> shift)***2** +
ctx->cuparseinfo.ulMaxDisplayDelay >= ctx->nb_surfaces;
then all works fine.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11514#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".