[FFmpeg-trac] #11514(avcodec:new): Cuvid decoder problem with deinterlacing
FFmpeg
trac at avcodec.org
Sun Mar 16 14:55:40 EET 2025
#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
More information about the FFmpeg-trac
mailing list