[FFmpeg-devel] [PATCH 3/6] avformat/mp3dec: allow enabling generic seek mode
Michael Niedermayer
michaelni at gmx.at
Wed Apr 22 14:41:30 CEST 2015
On Wed, Apr 22, 2015 at 12:24:38PM +0200, wm4 wrote:
> "-usetoc 2" now invokes the generic seek and indexing mode. This mode
> skips data until the seek target is reached, and this is exact. It also
> makes gapless audio actually work if a seek past the start of the file
> is involved.
>
> Change the fate-gapless-mp3 test to use the new mode, and move the old
> one to fate-gapless-mp3-toc (since the test forces use of the Xing TOC).
> The new mode has a different result for the seek - this result is
> actually correct.
> ---
> libavformat/mp3dec.c | 12 +++++++++---
> tests/fate/gapless.mak | 5 +++--
> tests/ref/fate/gapless-mp3 | 2 +-
> tests/ref/fate/gapless-mp3-toc | 5 +++++
> 4 files changed, 18 insertions(+), 6 deletions(-)
> create mode 100644 tests/ref/fate/gapless-mp3-toc
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150422/59598e01/attachment.asc>
More information about the ffmpeg-devel
mailing list