1. 13 Jan, 2013 3 commits
  2. 03 Jan, 2013 1 commit
  3. 30 Dec, 2012 1 commit
  4. 29 Dec, 2012 1 commit
  5. 28 Dec, 2012 1 commit
  6. 21 Dec, 2012 1 commit
  7. 20 Dec, 2012 1 commit
  8. 17 Dec, 2012 2 commits
    • Ramiro Polla's avatar
      dshow: call CoUninitialize() on dshow_read_close() · 83a9f29f
      Ramiro Polla authored
      Every call to CoInitialize should have a matching CoUnititalize.
      
      Based on patch by Don Moir <donmoir@comcast.net>.
      83a9f29f
    • Ramiro Polla's avatar
      dshow: handle events in graph · 190f6135
      Ramiro Polla authored
      Handling DirectShow events prevents infinite loops when there is an error in
      the graph, such as a device being disconnected. This makes it possible for
      dshow to return an error to the caller and run the cleanup code.
      
      Based on patch by Don Moir <donmoir@comcast.net>.
      190f6135
  9. 15 Dec, 2012 1 commit
  10. 08 Dec, 2012 1 commit
  11. 06 Dec, 2012 1 commit
  12. 04 Dec, 2012 1 commit
  13. 01 Dec, 2012 1 commit
  14. 29 Nov, 2012 1 commit
    • Stefano Sabatini's avatar
      lavu/opt: change the way default pixel and sample format value is set · 08d0969c
      Stefano Sabatini authored
      Use the i64 field rather than the string value. Using a string to set a
      default sample/pixel format is weird, also the new interface is more
      consistent with the rest of the API.
      
      This is technically an API break, but hopefully there are no applications
      using this feature outside of FFmpeg. In order to save backward
      compatibility with mixed libraries in case libavutil is updated but not
      the other libraries, some ifdeffery hacks are added.
      
      Note that the version check is only performed when class->version != 0,
      since if it is not defined then we assume that no version was defined and
      the class is not affected by the change.
      
      We will luckily get rid of the hack at the next major bump.
      08d0969c
  15. 16 Nov, 2012 1 commit
  16. 13 Nov, 2012 2 commits
  17. 11 Nov, 2012 1 commit
  18. 04 Nov, 2012 1 commit
  19. 02 Nov, 2012 2 commits
  20. 29 Oct, 2012 1 commit
  21. 25 Oct, 2012 1 commit
  22. 23 Oct, 2012 2 commits
  23. 21 Oct, 2012 1 commit
    • Clément Bœsch's avatar
      lavc: add lavfi metadata support. · 6fb2fd89
      Clément Bœsch authored
      This commit introduces a new AVPacket side data type:
      AV_PKT_DATA_STRINGS_METADATA. Its main goal is to provide a way to
      transmit the metadata from the AVFilterBufferRef up to the AVFrame. This
      is at the moment "only" useful for lavfi input from libavdevice:
      lavd/lavfi only outputs packets, and the metadata from the buffer ref
      kept in its context needs to be transmitted from the packet to the frame
      by the decoders. The buffer ref can be destroyed at any time (along with
      the metadata), and a duplication of the AVPacket needs to duplicate the
      metadata as well, so the choice of using the side data to store them was
      selected.
      
      Making sure lavd/lavfi raises the metadata is useful to allow tools like
      ffprobe to access the filters metadata (it is at the moment the only
      way); ffprobe will now automatically show the AVFrame metadata in any
      customizable output format for users. API users will also be able to
      access the AVFrame->metadata pointer the same way ffprobe does
      (av_frame_get_metadata).
      
      All the changes are done in this single commit to avoid some memory
      leaks: for instances, the changes in lavfi/avcodec.c are meant to
      duplicate the metadata from the buffer ref into the AVFrame. Unless we
      have an internal way of freeing the AVFrame->metadata automatically, it
      will leak in most of the user apps. To fix this problem, we introduce
      AVCodecContext->metadata and link avctx->metadata to the current
      frame->metadata and free it at each decode frame call (and in the codec
      closing callback for the last one). But doing this also means to update
      the way the tiff decoder already handles the AVFrame->metadata (it's the
      only one decoder with frame metadata at the moment), by making sure it
      is not trying to free a pointer already freed by the lavc internals.
      
      The lavfi/avcodec.c buffer ref code is based on an old Thomas Kühnel
      work, the rest of the code belongs to the commit author.
      Signed-off-by: 's avatarThomas Kühnel <kuehnelth@googlemail.com>
      Signed-off-by: 's avatarClément Bœsch <ubitux@gmail.com>
      6fb2fd89
  24. 12 Oct, 2012 3 commits
  25. 08 Oct, 2012 1 commit
  26. 07 Oct, 2012 1 commit
  27. 06 Oct, 2012 1 commit
  28. 01 Oct, 2012 1 commit
  29. 29 Sep, 2012 1 commit
  30. 28 Sep, 2012 1 commit
  31. 20 Sep, 2012 1 commit
  32. 11 Sep, 2012 1 commit