1. 11 Aug, 2015 6 commits
    • wm4's avatar
      mmaldec: fix problems with flush logic · 67db57ea
      wm4 authored
      Don't try to do a blocking wait for MMAL output if we haven't even sent
      a single real packet, but only flush packets. Obviously we can't expect
      to get anything back.
      
      Additionally, don't send a flush packet to MMAL in the same case. It
      appears the MMAL decoder will sometimes hang in mmal_vc_port_disable()
      (called from ffmmal_close_decoder()), waiting for a reply from the GPU
      which never arrives. Either MMAL disallows sending flush packets without
      preceding real data, or it's a MMAL bug.
      67db57ea
    • wm4's avatar
      7f116973
    • wm4's avatar
      mmaldec: hack against buffering problems on broken input · 750f72d7
      wm4 authored
      I can't come up with a nice way to handle this. It's hard to keep the
      lock-stepped input/output in this case. You can't predict whether the
      MMAL decoder will output a picture (because it's asynchronous), so
      you have to assume in general that any packet could produce 0 or 1
      frames. You can't continue to write input packets to the decoder,
      because then you might get too many output frames, which you can't
      get rid of because the lavc decoding API does not allow the decoder
      to return an output frame without consuming an input frame (except
      when flushing).
      
      The ideal fix is a M:N decoding API (preferably asynchronous), which
      would make this code potentially much cleaner. For now, this hack
      will do.
      750f72d7
    • Marton Balint's avatar
      concatdec: fix broken file_inpoint calculation · 08600165
      Marton Balint authored
      Should fix ticket #4765.
      Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
      08600165
    • Rostislav Pehlivanov's avatar
      aacenc: Move small misc. functions to a separate file · ef8e5a61
      Rostislav Pehlivanov authored
      As well as tables littered everywhere, functions were spread
      out all across the encoder's files. This moves them to a single
      place where they can be used by either the encoder's main files
      or additional encoder files. Additionally, it changes the type
      of some to 'inline' to enable us to simply put them in a header
      file and possibly gain some speed due to compiler optimizations.
      Signed-off-by: 's avatarClaudio Freire <klaussfreire@gmail.com>
      ef8e5a61
    • Michael Niedermayer's avatar
      doc/codecs: Document color_range for the input side · 8623aba0
      Michael Niedermayer authored
      Partly fixes Ticket 443
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      8623aba0
  2. 10 Aug, 2015 16 commits
  3. 09 Aug, 2015 11 commits
  4. 08 Aug, 2015 7 commits