]> git.sesse.net Git - nageru/commit
Use AVFrame::duration instead of AVFrame::pkt_duration.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Oct 2023 09:23:51 +0000 (11:23 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Oct 2023 09:23:51 +0000 (11:23 +0200)
commit8bf76def09e0747734c33a21a8f94b3f462305c7
tree7db7458cf5f9cb6e31cc88990314d452a2e491fa
parent7b2079d4e22b1766eb8415df613ef3af10becded
Use AVFrame::duration instead of AVFrame::pkt_duration.

This field was introduced in FFmpeg 5.2 and then the old one
promptly deprecated; the difference seems to be effectively nil?
Use an #ifdef so that we retain bookworm (FFmpeg 5.1) compatibility.
nageru/ffmpeg_capture.cpp