1. 21 Jan, 2018 1 commit
    • Erwan Tulou's avatar
      mft: fix probe issue with GUI threads · 545124d3
      Erwan Tulou authored
      The skins2 thread as a Gui interface uses OLE/COM set up as 'appartment threaded' for DragNDrop. This thread also uses the vlc decoding facilities to decode still images and therefore is likely to probe decoder modules.
      
      Calling CoInitializeEx() in multithreaded mode is not compatible with the already 'appartment threaded' setting, and therefore fails. In debug mode, this causes an unreachable assert. In non debug mode, the Open() is executed, fails and calls an undue CoUninitialize() which silently breaks the whole OLE setting of the thread.
      
      The patch just gracefully returns on failure.
      545124d3
  2. 03 Dec, 2017 1 commit
  3. 13 Jul, 2017 1 commit
    • Thomas Guillem's avatar
      es: replace i_original_channels with i_chan_mode · 91f42699
      Thomas Guillem authored
      Rename i_original_channels to i_chan_mode. For now, chan modes can be
      DOLBYSTEREO or DUALMONO.
      
      This new value, i_chan_mode, should only be set by demuxes/codecs/packetizers
      if there is a special stereo mode to handle.
      91f42699
  4. 12 Jul, 2017 1 commit
  5. 08 Jul, 2017 1 commit
  6. 19 Jun, 2017 2 commits
  7. 11 Apr, 2017 1 commit
  8. 09 Feb, 2017 1 commit
    • Thomas Guillem's avatar
      decoder: refactor pf_decode_* callbacks · a8b249bc
      Thomas Guillem authored
      Use only one callback for every decoder types:
      
      int (*pf_decode)(decoder_t *, block_t *p_block);
      
      There is now only one way to send output frames/blocks from a decoder module:
      using decoder_QueueVideo(), decoder_QueueAudio() and decoder_QueueSub()
      functions.
      
      This fixes transcoding not receiving any output when a decoder used
      decoder_Queue*() function.
      
      The pf_packetize callback is kept unchanged. A packetizer shouldn't be
      asynchronous at all (and this simplify the locking for decoder core).
      
      The pf_decode callback returns, for now, only one value: SUCCESS. This will
      allow a module to send more status.
      a8b249bc
  9. 29 Nov, 2016 1 commit
  10. 26 Sep, 2016 2 commits
  11. 18 Apr, 2016 1 commit
  12. 29 Mar, 2016 1 commit
  13. 09 Dec, 2015 2 commits
  14. 03 Dec, 2015 2 commits
  15. 05 Nov, 2015 2 commits
  16. 13 Oct, 2015 4 commits
  17. 09 Sep, 2015 1 commit
    • Thomas Guillem's avatar
      decoder: remove b_need_packetized · 080f21c3
      Thomas Guillem authored
      When needed (fmt->b_packetized == false), create a packetizer before creating a
      decoder. The fmt_in of the decoder is copied either from the fmt_out of the
      packetizer, or from the fmt of CreateDecoder.
      080f21c3
  18. 30 Jul, 2015 1 commit
  19. 29 Jul, 2015 1 commit
  20. 28 Apr, 2015 1 commit
  21. 16 Mar, 2015 2 commits
  22. 26 Nov, 2014 1 commit
  23. 21 Nov, 2014 2 commits
  24. 27 Oct, 2014 1 commit
  25. 11 Oct, 2014 1 commit
  26. 25 Apr, 2014 1 commit
    • Felix Abecassis's avatar
      codec: implementation of Media Foundation Transform audio/video decoding · 2762ab0a
      Felix Abecassis authored
      Media Foundation is a framework for encoding/decoding multimedia
      content on Windows Vista and above. A Media Foundation Transform (MFT)
      is a module implementing an encoder, a decoder or a filter.
      
      MFTs can be enumerated and initialized using the function MFTEnumEx.
      A MFT can be SW or HW, synchronous or asynchronous.
      2762ab0a