1. 01 Oct, 2016 1 commit
    • wm4's avatar
      ffmpeg: move subframe warning to libavcodec · b2fea2fd
      wm4 authored
      With the new decode API, doing this in ffmpeg.c is impractical. There
      was resistance against removing the warning, so put it into libavcodec.
      
      Not bothering with reducing the warning to verbose log level for
      subsequent wanrings. The warning should be rare, and only happen when
      developing new codecs for the old API.
      
      Includes a change suggested by Michael Niedermayer.
      b2fea2fd
  2. 19 Jun, 2016 1 commit
  3. 21 Apr, 2016 2 commits
  4. 23 Mar, 2016 1 commit
    • wm4's avatar
      lavc: introduce a new decoding/encoding API with decoupled input/output · 05f66706
      wm4 authored
      Until now, the decoding API was restricted to outputting 0 or 1 frames
      per input packet. It also enforces a somewhat rigid dataflow in general.
      
      This new API seeks to relax these restrictions by decoupling input and
      output. Instead of doing a single call on each decode step, which may
      consume the packet and may produce output, the new API requires the user
      to send input first, and then ask for output.
      
      For now, there are no codecs supporting this API. The API can work with
      codecs using the old API, and most code added here is to make them
      interoperate. The reverse is not possible, although for audio it might.
      Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
      05f66706
  5. 16 Dec, 2015 1 commit
  6. 08 Dec, 2015 1 commit
  7. 06 Dec, 2015 1 commit
  8. 05 Dec, 2015 1 commit
  9. 17 Nov, 2015 1 commit
  10. 15 Nov, 2015 1 commit
  11. 21 Oct, 2015 1 commit
  12. 02 Oct, 2015 1 commit
  13. 20 Sep, 2015 1 commit
  14. 19 Sep, 2015 1 commit
  15. 12 Sep, 2015 1 commit
    • wm4's avatar
      lavc: allow asynchronous decoders to return correct pkt_dts values · 87a051f9
      wm4 authored
      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: 's avatarLuca Barbato <lu_zero@gentoo.org>
      87a051f9
  16. 05 Sep, 2015 1 commit
  17. 18 Aug, 2015 1 commit
  18. 04 Aug, 2015 1 commit
  19. 27 Jul, 2015 3 commits
  20. 22 Jul, 2015 1 commit
  21. 16 Jul, 2015 1 commit
  22. 02 Jul, 2015 1 commit
  23. 24 Apr, 2015 1 commit
  24. 20 Apr, 2015 1 commit
  25. 19 Apr, 2015 1 commit
  26. 05 Apr, 2015 1 commit
  27. 31 Mar, 2015 1 commit
  28. 14 Mar, 2015 1 commit
  29. 13 Mar, 2015 1 commit
    • Vittorio Giovara's avatar
      lavc: Introduce AVCodec internal capabilities · 117b4327
      Vittorio Giovara authored
      This field is designed for marking codec properties useful to lavc internals.
      Two internal capabilities are added:
       - FF_CODEC_CAP_INIT_THREADSAFE: codec can be opened without locks;
       - FF_CODEC_CAP_INIT_CLEANUP: codec frees memory if initialization fails.
      117b4327
  30. 18 Nov, 2014 1 commit
  31. 17 Nov, 2014 1 commit
  32. 20 Jun, 2014 1 commit
  33. 20 May, 2014 1 commit
  34. 19 May, 2014 1 commit
  35. 11 May, 2014 3 commits