[vlc-devel] [PATCH 00/20] input_thread_t cleanup, part 2
Thomas Guillem
thomas at gllm.fr
Fri May 31 15:59:26 CEST 2019
Branch available here:
https://code.videolan.org/tguillem/vlc/commits/input-cleanup/2
The goal of these commits is to hide the input_thread_t API. Indeed, only the
new vlc player should use this API now.
2 commits need your special attention since they remove some
API/functionalites:
- "modules: remove mediadirs service discovery"
- "RFC: lib: remove media_library"
Thomas Guillem (20):
input: item: add input_item_Parse
medialibrary: fs: use input_item_Parse
medialibrary: metadata: use input_item_Parse
preparser: use input_item_Parse
remove unused #include <vlc_input.h>
include vlc_input_item.h instead of vlc_input.h
input: move decoder functions into vlc_decoder.h
input_item: add input_item_CreateFilename
record: use input_item_CreateFileName
input: hide input_CreateFilename
fingerprinter: use vlc_player
qt: remove isRecordable getter
qt: use player capabilities
lib: media_player: use player capabilities
extensions: extension_SetInput: use input_item_t
modules: remove mediadirs service discovery
RFC: lib: remove media_library
vlm: use own vlm event
input: hide input_thread_t
input: remove hold/release
include/vlc/libvlc_media_library.h | 96 ----
include/vlc/vlc.h | 1 -
include/vlc_decoder.h | 94 ++++
include/vlc_extensions.h | 8 +-
include/vlc_input.h | 421 +-----------------
include/vlc_input_item.h | 73 +++
include/vlc_objects.h | 8 -
include/vlc_vlm.h | 12 +-
lib/Makefile.am | 2 -
lib/audio.c | 1 -
lib/media.c | 1 -
lib/media_library.c | 141 ------
lib/media_list.c | 40 --
lib/media_list_internal.h | 3 -
lib/media_player.c | 9 +-
lib/video.c | 1 -
modules/access/cdda.c | 2 +-
modules/access/dtv/access.c | 1 -
modules/access/dvb/access.c | 1 -
modules/access/dvdread.c | 1 -
modules/access/file.c | 1 -
modules/access/http.c | 2 +-
modules/access/jack.c | 1 -
modules/access/linsys/linsys_hdsdi.c | 1 -
modules/access/linsys/linsys_sdi.c | 1 -
modules/access/mtp.c | 1 -
modules/access_output/http.c | 1 -
modules/codec/daala.c | 1 -
modules/codec/faad.c | 2 +-
modules/codec/kate.c | 2 +-
modules/codec/opus.c | 1 -
modules/codec/speex.c | 2 +-
modules/codec/spudec/parse.c | 1 -
modules/codec/synchro.c | 1 -
modules/codec/theora.c | 2 +-
modules/codec/vorbis.c | 2 +-
modules/control/netsync.c | 1 -
modules/control/win_msg.c | 1 -
modules/demux/asf/asf.c | 1 -
modules/demux/directory.c | 2 +-
modules/demux/gme.c | 1 -
modules/demux/mock.c | 1 -
modules/demux/mpc.c | 1 -
modules/demux/mpeg/ts_streams.c | 1 -
modules/demux/subtitle.c | 1 -
modules/demux/ty.c | 2 +-
.../gui/qt/components/player_controller.cpp | 30 +-
.../gui/qt/components/player_controller.hpp | 5 -
modules/lua/extension.c | 33 +-
modules/lua/extension.h | 4 +-
modules/lua/libs/equalizer.c | 1 -
modules/misc/fingerprinter.c | 99 ++--
.../misc/medialibrary/MetadataExtractor.cpp | 74 ++-
modules/misc/medialibrary/fs/directory.cpp | 79 ++--
modules/misc/medialibrary/medialibrary.h | 15 +-
modules/misc/playlist/html.c | 2 +-
modules/misc/playlist/m3u.c | 2 +-
modules/misc/playlist/xspf.c | 2 +-
modules/misc/rtsp.c | 2 +-
modules/services_discovery/Makefile.am | 3 -
modules/services_discovery/mediadirs.c | 368 ---------------
modules/stream_filter/record.c | 6 +-
modules/stream_out/chromaprint.c | 1 -
modules/stream_out/description.c | 1 -
modules/stream_out/display.c | 2 +-
modules/stream_out/es.c | 1 -
modules/stream_out/gather.c | 1 -
modules/stream_out/transcode/audio.c | 1 -
modules/stream_out/vod.c | 2 +-
po/POTFILES.in | 1 -
src/Makefile.am | 1 +
src/clock/input_clock.c | 1 -
src/input/decoder.c | 1 +
src/input/demux.c | 2 +-
src/input/es_out.c | 2 +-
src/input/es_out_timeshift.c | 1 -
src/input/input.c | 21 +-
src/input/input_internal.h | 355 ++++++++++++++-
src/input/item.c | 74 +++
src/input/player.c | 1 +
src/input/resource.c | 1 +
src/input/thumbnailer.c | 2 +-
src/input/vlm.c | 15 +-
src/input/vlm_event.c | 6 +-
src/input/vlm_event.h | 2 +-
src/input/vlmshell.c | 1 -
src/libvlc.c | 1 -
src/libvlccore.sym | 16 +-
src/os2/specific.c | 1 -
src/preparser/preparser.c | 72 ++-
src/test/headers.c | 1 -
src/text/strings.c | 2 +-
src/video_output/vout_subpictures.c | 1 -
93 files changed, 847 insertions(+), 1418 deletions(-)
delete mode 100644 include/vlc/libvlc_media_library.h
create mode 100644 include/vlc_decoder.h
delete mode 100644 lib/media_library.c
delete mode 100644 modules/services_discovery/mediadirs.c
--
2.20.1
More information about the vlc-devel
mailing list