1. 17 Oct, 2017 2 commits
  2. 08 Jul, 2017 2 commits
  3. 31 May, 2017 1 commit
  4. 23 May, 2017 1 commit
  5. 18 May, 2017 2 commits
  6. 15 May, 2017 1 commit
  7. 09 Feb, 2017 6 commits
    • Thomas Guillem's avatar
      decoder: add decoder_QueueVideoWithCc · 4079bb24
      Thomas Guillem authored
      This replaces the pf_get_cc callback for video decoders. Packetizers should
      still use pf_get_cc.
      4079bb24
    • Thomas Guillem's avatar
      61d88c2f
    • Thomas Guillem's avatar
      decoder: add VLCDEC_RELOAD status · c4aabc52
      Thomas Guillem authored
      This replaces the decoder_RequestReload() function. The module implementation
      that returns this status should not have modified or released the input block
      passed in pf_decoder parameter.
      c4aabc52
    • Thomas Guillem's avatar
      decoder: add VLCDEC_ECRITICAL status · 21144a3a
      Thomas Guillem authored
      This replaces the decoder_t->b_error boolean.
      
      For now, only decoders that were setting b_error return VLCDEC_ECRITICAL, but a
      lot more decoders should use this value since critical errors are often ignored.
      21144a3a
    • 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
    • Thomas Guillem's avatar
      f1b80320
  8. 04 Oct, 2016 1 commit
  9. 26 Sep, 2016 1 commit
  10. 28 Jul, 2016 1 commit
  11. 02 Apr, 2016 1 commit
  12. 21 Dec, 2015 2 commits
  13. 10 Dec, 2015 3 commits
  14. 26 Nov, 2015 1 commit
  15. 27 Sep, 2015 1 commit
  16. 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
  17. 04 Jul, 2015 1 commit
  18. 14 Jun, 2015 2 commits
  19. 21 Apr, 2015 1 commit
  20. 01 Nov, 2014 4 commits
  21. 30 Oct, 2014 1 commit
  22. 15 Feb, 2014 2 commits
    • Jean-Paul Saman's avatar
      Revert "input core: add status field per elementary stream" · d2acb621
      Jean-Paul Saman authored
      This reverts commit d8199d8c.
      d2acb621
    • Jean-Paul Saman's avatar
      input core: add status field per elementary stream · d8199d8c
      Jean-Paul Saman authored
      VLC has status reporting on the input state, but not on the output state.
      This makes it impossible to know if playback actually started completely from
      checking stream status states.
      
      For instance a failed audio output cannot be determined programatically. This
      patch adds an extra field per ES (in src/input/es_out.c) to determine the state
      of that ES (DISABLE, ENABLED, ERROR).
      
      If CreateDecoder() cannot instantiate an output, then it set p_dec->b_error = true.
      This is used to determine what the return value for es_out_GetEsState() should be.
      If p_dec->b_error is true, then it returns an ES_OUT_STATE_ES_ERROR to the caller.
      Else it returns ES_OUT_STATE_ES_ENABLED or ES_OUT_STATE_ES_DISABLED.
      
      A function 'es_out_GetEsState()' is available to query an input for the state of
      the primary audio, video and SPU elementary streams.
      d8199d8c
  23. 26 Jul, 2013 1 commit
  24. 22 May, 2012 1 commit