1. 06 Sep, 2012 9 commits
  2. 05 Sep, 2012 6 commits
  3. 04 Sep, 2012 22 commits
  4. 03 Sep, 2012 3 commits
    • Timothy B. Terriberry's avatar
      Fix 0-byte Ogg packet handling. · 9c7198ea
      Timothy B. Terriberry authored
      This stops rejecting 0-byte packets, adds checks everywhere we
      access the first byte of a packet, updates the th_decode_packetin()
      return value checking so that duplicate frames aren't thrown away,
      and updates video pts generation so the resulting frames are
      displayed correctly,
      
      Fixes bug #3416.
      Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
      9c7198ea
    • Timothy B. Terriberry's avatar
      Opus decoder. · af480570
      Timothy B. Terriberry authored
      This patch uses the information passed by the demuxer in block_t's
      i_nb_samples and i_length to properly handle pre-skip, seeking
      pre-roll, and end-trim. Multi-channel decoding should work. It also
      adds .opus to the list of supported formats.
      Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
      af480570
    • Timothy B. Terriberry's avatar
      Opus demuxing fixes. · 675072a8
      Timothy B. Terriberry authored
      This properly handles pre-skip, seeking pre-roll, and end-trim. It
      uses the i_nb_samples field of block_t to signal to the decoder how
      many samples should be returned after (possibly) skipping some at
      the start of the block (for both pre-skip and pre-roll). In
      addition, it abuses the i_length field of block_t to signal to the
      decoder how many samples to trim from the end of the packet (for
      end-trimming).
      
      This patch does not compute correct timestamps for streams which
      start at a non-zero offset (e.g., live streams joined in the
      middle), nor does it correctly compute the length of a stream. But
      neither of those things work for Vorbis, either. I'm leaving them
      for a follow-up patch.
      Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
      675072a8