[vlc-devel] [PATCH v2 0/9] Implement libvlc player using vlc_player

Romain Vimont rom1v at videolabs.io
Wed May 15 11:53:08 CEST 2019


The purpose is to remove input_thread_t usage in libvlc. This paves the way
to "privatize" input_thread_t in the core.

Changes from the v1 of this patchset:
 - preserve the snapshot API
 - trigger the "preparsed" event like before
 - move libvlc_media_player_will_play() to deprecated.h
 - make the player lock reentrant, to be able to call libvlc getters from
   libvlc callbacks like before
 - make stop() synchronous
 - add stop_async()
 - fix tests and implementation so that tests pass

Romain Vimont (8):
  libvlc: player: send EndReached on input ended
  libvlc: player: fix racy tests
  core: player: make the lock optionally reentrant
  player: add on_device_changed callback
  libvlc: player: deprecate will_play()
  libvlc: player: use vlc_player
  libvlc: player: make stop synchronous
  libvlc: player: add stop_async()

Thomas Guillem (1):
  player: indicate if stop() is stopping

 include/vlc/deprecated.h          |   11 +
 include/vlc/libvlc_media_player.h |   22 +-
 include/vlc_player.h              |   38 +-
 lib/audio.c                       |   95 +-
 lib/media_player.c                | 1812 +++++++++++++----------------
 lib/media_player_internal.h       |   24 +-
 lib/video.c                       |  266 ++---
 src/input/player.c                |   29 +-
 src/playlist/player.c             |    3 +-
 src/playlist/playlist.h           |    3 +-
 test/Makefile.am                  |    2 +-
 test/libvlc/media_player.c        |   85 +-
 test/src/input/player.c           |    6 +-
 13 files changed, 1087 insertions(+), 1309 deletions(-)

-- 
2.20.1



More information about the vlc-devel mailing list