]> git.sesse.net Git - ffmpeg/commit
lavf/mux: rewrite guessing the packet duration
authorAnton Khirnov <anton@khirnov.net>
Sun, 29 Nov 2020 16:40:14 +0000 (17:40 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 10 Dec 2020 08:50:18 +0000 (09:50 +0100)
commit1c0885334dda9ee8652e60c586fa2e3674056586
treee02c4721496cf6a5b4d82e2e95bf7116d4f17cb4
parentfe7f0d366fdea04af1bb4c7c188750b99b3593c4
lavf/mux: rewrite guessing the packet duration

Factor out the code into a separate muxing-specific function.
Stop accessing the deprecated AVStream-embedded codec context, use the
average framerate (if specified) instead.
18 files changed:
libavformat/mux.c
tests/ref/fate/asf-repldata
tests/ref/fate/ffmpeg-attached_pics
tests/ref/fate/ffmpeg-streamloop
tests/ref/fate/g2m2
tests/ref/fate/iff-byterun1
tests/ref/fate/iff-ilbm
tests/ref/fate/iv8-demux
tests/ref/fate/mimic
tests/ref/fate/mss2-pal
tests/ref/fate/mss2-pals
tests/ref/fate/mss2-rgb555
tests/ref/fate/mss2-rgb555s
tests/ref/fate/nuv-rtjpeg
tests/ref/fate/segment-mp4-to-ts
tests/ref/fate/smjpeg-demux
tests/ref/fate/vp9-tiling-pedestrian
tests/ref/lavf-fate/vp8.ogg