1. 12 9月, 2015 9 次提交
    • J
      travis: fix dependencies · 1e0b8bf0
      James Almer 提交于
      bc hasn't been needed since a982c5d7Signed-off-by: NJames Almer <jamrial@gmail.com>
      Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
      1e0b8bf0
    • W
      mmaldec: fix pkt_dts determination · 99404597
      wm4 提交于
      This also drops setting the frame->pts field. This is usually not set by
      decoders, so this would be an inconsistency that's at worst a danger to
      the API user.
      
      It appears the buffer->dts field is normally not set by the MMAL
      decoder, so don't use it. If it's ever going to be set by MMAL, we
      don't know whether the value will be what we want.
      Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
      99404597
    • W
      lavc: allow asynchronous decoders to return correct pkt_dts values · 87a051f9
      wm4 提交于
      The generic code in utils.c sets the AVFrame.pkt_dts field from the
      packet it was supposedly decoded. This does not have to be true for a
      fully asynchronous decoder like mmaldec. It could be overwritten with an
      incorrect value. Even if the decoder doesn't determine the DTS (but sets
      it to AV_NOPTS_VALUE), it's impossible to determine a correct value in
      utils.c.
      
      Decoders can now be marked with FF_CODEC_CAP_SETS_PKT_DTS, in which case
      utils.c won't overwrite the field. The decoders are expected to set this
      field (even if they only set it to AV_NOPTS_VALUE).
      Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
      87a051f9
    • W
      mmaldec: disable timestamp interpolation · b7ab6e18
      wm4 提交于
      This MMAL feature fills in missing timestamps from the framerate set on
      the input port. This is generally unwanted, since libavcodec decoders
      merely pass through timestamps without ever "fixing" them. The framerate
      is also unknown, and even the timebase doesn't have to be set.
      Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
      b7ab6e18
    • W
      mmaldec: fix problems with flush logic · 6b652c02
      wm4 提交于
      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.
      Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
      6b652c02
    • W
      mmaldec: hack against buffering problems on broken input · b84675d6
      wm4 提交于
      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.
      Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
      b84675d6
    • L
      jpeg2000: Split codeblock decoding from the main tile decoding · 5788623d
      Luca Barbato 提交于
      That loop is completely stand-alone.
      5788623d
    • L
      jpeg2000: Do not warn about known and skippable markers · db53a230
      Luca Barbato 提交于
      Matches the openjpeg behaviour.
      db53a230
    • L
      mmvideo: Make sure the rle does not write over the frame boundaries · 9b5a4a9c
      Luca Barbato 提交于
      Bug-Id: 887
      CC: libav-stable@libav.org
      9b5a4a9c
  2. 10 9月, 2015 4 次提交
  3. 09 9月, 2015 1 次提交
  4. 07 9月, 2015 5 次提交
  5. 06 9月, 2015 2 次提交
  6. 04 9月, 2015 3 次提交
  7. 03 9月, 2015 9 次提交
  8. 01 9月, 2015 2 次提交
  9. 31 8月, 2015 5 次提交