1. 13 Apr, 2016 1 commit
  2. 24 Jun, 2015 1 commit
    • Michael Niedermayer's avatar
      avcodec/mpegaudio_parser: Discard ID3v1 tag at the end · 89a420b7
      Michael Niedermayer authored
      Ideally this should be discarded by the demuxer but this is not
      possible without fully parsing which would be then very similar
      to this. The current ID3v1 discard code in the demuxer does not work
      and will be removed in a subsequent commit
      
      The discard code could be adjusted if needed to also discard tags at
      other locations than the end or to limit this possibly to input
      from the mp3 demuxer or even to move the discarding to the
      decoder.
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      89a420b7
  3. 22 Apr, 2015 1 commit
    • wm4's avatar
      avformat/mp3dec: allow enabling generic seek mode · c3a73666
      wm4 authored
      "-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.
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      c3a73666
  4. 20 Apr, 2015 1 commit
    • wm4's avatar
      fate: gapless: fix mp3 tests · 1e2e22ec
      wm4 authored
      Seeking to a negative time did not have the desired effect of seeking to
      the next valid position (the file start). On the other hand, just
      "-ss 0" will normally seek to a position higher than 0, because it adds
      the start time of the file. (The start time is not 0 because the gapless
      code skips a few samples from the start.)
      
      Fix this by using the "-seek_timestamp 1" option, which makes "-ss 0" do
      what you'd expect it would do.
      
      Also put the -ss option at the right place, before -i. This actually
      makes it seek, instead of something completely else. The ".out-3" test
      is no different in the -usetoc 0/1 cases, because the seeking is
      inaccurate (in both cases).
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      1e2e22ec
  5. 17 Apr, 2015 2 commits
  6. 16 Apr, 2015 1 commit