1. 26 Aug, 2019 1 commit
    • Thomas Guillem's avatar
      player: rework aout/vout callbacks · bb4d4abf
      Thomas Guillem authored
      Document that vlc_player_t functions should not be called from these callbacks.
      A player function could trigger an action on the vout/aout and cause a callback
      to be called => deadlock.
      
      Remove the vlc_player_t * argument, it was never used.
      
      Add the audio_output_t *argument for aout callbacks. It's not currently used,
      it is added as symmetry with vout callbacks.
      bb4d4abf
  2. 26 Jun, 2019 1 commit
  3. 25 Jun, 2019 1 commit
    • Thomas Guillem's avatar
      player: get vout and vout_order from VIDEO/SPU es_ids · c896210b
      Thomas Guillem authored
      vlc_player_GetVoutFromEsId() can now return the vout used by an SPU es_id.
      It also returns the vout order.
      
      The on_vout_changed callback is also used for SPU es_ids. Users could check the
      category of the es_id to know if the vout is attached to a VIDEO es or an SPU
      one.
      c896210b
  4. 18 Jun, 2019 1 commit
  5. 17 Jun, 2019 1 commit
  6. 04 Jun, 2019 1 commit
  7. 03 Jun, 2019 3 commits
  8. 22 May, 2019 4 commits
  9. 19 May, 2019 1 commit
  10. 16 May, 2019 1 commit
  11. 11 May, 2019 2 commits
  12. 06 Mar, 2019 4 commits
  13. 20 Feb, 2019 1 commit
  14. 19 Feb, 2019 1 commit
  15. 18 Jan, 2019 1 commit
  16. 16 Jan, 2019 3 commits
  17. 12 Nov, 2018 1 commit
  18. 12 Oct, 2018 1 commit
  19. 20 Sep, 2018 1 commit
  20. 31 Aug, 2018 1 commit
  21. 21 Aug, 2018 1 commit
  22. 20 Aug, 2018 1 commit
  23. 15 Jul, 2018 2 commits
  24. 12 Jul, 2018 4 commits
    • Thomas Guillem's avatar
      input: remove input_LegacyVarStop · 4e271821
      Thomas Guillem authored
      This code path is way too racy (even before
      2ef7696e): input_priv(p_input)->i_title is not
      protected and the variables were not cleaned if i_title changed from 1 to 0.
      
      This function was useless anyway since it was always called before
      input_Close() that destroyed the input thread object and all variables /
      callbacks.
      4e271821
    • Thomas Guillem's avatar
      core: first cleaning of input_thread_t variables/event · 2ef7696e
      Thomas Guillem authored
      Currently, the input_thread_t is controllable by either input_Control, specific
      functions, by variables or by the 3 previous solutions.
      
      The goal of this commit is to remove variables usage when it's not necessary.
      This commit doesn't remove variables that should be used to pass users settings
      (cf.  input_ConfigVarInit).
      
      The "intf-event" callback is replaced by the new callback
      input_thread_events_cb that pass a new event: struct vlc_input_event. There can
      be only one listener: the creator of the input_thread_t. In the future, the new
      vlc input controller will receive these events and forward them to all
      listeners.
      
      In the meantime, I added input_LegacyVarInit, input_LegacyVarStop, and
      input_LegacyEvents, 3 helpers functions that reproduce the legacy variable
      behavior (transform new vlc_input_event to old intf-event events). These 3
      functions are meant to be removed for 4.0 release (when vlc input controller is
      added).
      
      For now, the playlist, the media_player, VLM and modules still use the legacy
      variables.
      2ef7696e
    • Thomas Guillem's avatar
      lib/media_player: use INPUT_GET_FULL_TITLE_INFO · 9dc070b9
      Thomas Guillem authored
      Don't use INPUT_GET_TITLE_INFO that depends on a variable.
      9dc070b9
    • Thomas Guillem's avatar
      25ee5a61
  25. 05 Jul, 2018 1 commit