[FFmpeg-devel] [PATCH 3/3] avcodec/cuvid: set best_effort_timestamp instead of frame pts
timo at rothenpieler.org
Mon Oct 3 16:46:26 EEST 2016
> Please just leave the pts stuff as-is, or we'll have to undo these
> changes right in the next merge again, which deprecates pkt_pts and
> favors using AVFrame.pts for decoding as well (less redundant fields).
> Setting both for the time being should not have any negative effects.
Ok, I'll leave that one out. Only thing that needs changing with those
merges would be deprecation guards around setting pkt_pts then.
> Settings best effort in addition seems slightly weird, do any other
> decoders actually set that by themself?
No, but no other decoder implements the new decode API yet, which
doesn't do so for you anymore.
Merging the "lavc: set best effort timestamp if unset when using new
decode API" should work just fine as well though.
> - Hendrik
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel