From b0193e26ca32914bdd3d05be5d1f474ca8c52124 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Wed, 16 Feb 2022 08:54:09 -0800 Subject: avformat/imf: fix packet pts, dts and muxing The IMF demuxer does not set the DTS and PTS of packets accurately in all scenarios. Moreover, audio packets are not trimmed when they exceed the duration of the underlying resource. imf-cpl-with-repeat FATE ref file is regenerated. Addresses https://trac.ffmpeg.org/ticket/9611 --- tests/ref/fate/imf-cpl-with-repeat | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tests/ref/fate/imf-cpl-with-repeat') diff --git a/tests/ref/fate/imf-cpl-with-repeat b/tests/ref/fate/imf-cpl-with-repeat index fe3106d5c6..e5b3992d04 100644 --- a/tests/ref/fate/imf-cpl-with-repeat +++ b/tests/ref/fate/imf-cpl-with-repeat @@ -34,13 +34,13 @@ 0, 28, 28, 1, 1964, 0x106d867a 0, 29, 29, 1, 1964, 0x106d867a 0, 30, 30, 1, 1964, 0x106d867a -0, 30, 31, 1, 2068, 0xd411c582 -0, 30, 32, 1, 2520, 0x7b539dfc -0, 30, 33, 1, 1846, 0x9d184658 -0, 30, 34, 1, 2475, 0x2967a123 -0, 30, 35, 1, 2540, 0xdc61ad87 -0, 30, 36, 1, 2214, 0xa7da105f -0, 30, 37, 1, 2486, 0xa68d89b4 -0, 30, 38, 1, 2615, 0xbc35d5ad -0, 30, 39, 1, 2150, 0x643aea98 -0, 30, 40, 1, 2628, 0x2880c4ad +0, 31, 31, 1, 2068, 0xd411c582 +0, 32, 32, 1, 2520, 0x7b539dfc +0, 33, 33, 1, 1846, 0x9d184658 +0, 34, 34, 1, 2475, 0x2967a123 +0, 35, 35, 1, 2540, 0xdc61ad87 +0, 36, 36, 1, 2214, 0xa7da105f +0, 37, 37, 1, 2486, 0xa68d89b4 +0, 38, 38, 1, 2615, 0xbc35d5ad +0, 39, 39, 1, 2150, 0x643aea98 +0, 40, 40, 1, 2628, 0x2880c4ad -- cgit v1.2.3