Re: [FFmpeg-devel] [PATCH v4] avformat/movenc: fix duration in mdhd box

2022-01-10 Thread Martin Storsjö
On Mon, 10 Jan 2022, Zhao Zhili wrote: mvhd and tkhd present the post-editlist duration, while mdhd should have the pre-editlist duration. Regression since c2424b1f3. --- v4: fix more fate Pushed this now, and backported it to 5.0 - sorry for the delay. // Martin

[FFmpeg-devel] [PATCH v4] avformat/movenc: fix duration in mdhd box

2022-01-10 Thread Zhao Zhili
mvhd and tkhd present the post-editlist duration, while mdhd should have the pre-editlist duration. Regression since c2424b1f3. --- v4: fix more fate libavformat/movenc.c| 2 +- tests/ref/fate/copy-trac3074| 2 +- tests/ref/fate/mov-cover-image