Commit Graph

7168 Commits

Author SHA1 Message Date
Rémi Denis-Courmont ab0a8dc3e2 libvlc: remove libvlc_video_get_crop_geometry() 2019-06-04 18:40:05 +03:00
Steve Lhomme 646bbc965b libvlc: provide a callback to the host that it can call when its size changes 2019-06-04 12:35:10 +02:00
Steve Lhomme a3fb6e1713 libvlc: fix references to non-existant enums 2019-06-04 11:40:35 +02:00
Thomas Guillem 9cb92dddca objects: remove input_thread_t cast 2019-06-03 16:26:00 +02:00
Thomas Guillem 9dc34b4205 input: hide input_thread_t 2019-06-03 16:15:55 +02:00
Thomas Guillem ead659673e strings: vlc_strfinput: use player 2019-06-03 16:15:55 +02:00
Thomas Guillem 90b33a59d1 player: add vlc_player_GetCategoryLanguage
Will be needed by vlc_strfinput.
2019-06-03 16:15:55 +02:00
Thomas Guillem a2ea2da82d player: implement vlc_player_SelectCategoryLanguage
It replaces vlc_player_SelectDefaultTrack that was unused and not implemented.
2019-06-03 16:15:55 +02:00
Thomas Guillem bbd379ff47 vlm: use own vlm event 2019-06-03 16:15:55 +02:00
Thomas Guillem f912a67d45 lib: remove media_library
Is it used ? It is the last one using input_thread_t.
I don't really understand this code though.
2019-06-03 16:15:55 +02:00
Thomas Guillem 1cd778c182 extensions: extension_SetInput: use input_item_t 2019-06-03 16:15:55 +02:00
Thomas Guillem 2b0e0e9407 input: hide input_CreateFilename 2019-06-03 16:15:55 +02:00
Thomas Guillem 80bcf667d3 input_item: add input_item_CreateFilename 2019-06-03 16:15:55 +02:00
Thomas Guillem acf5684027 input: move decoder functions into vlc_decoder.h
TODO: needs to be documented.
2019-06-03 16:15:55 +02:00
Thomas Guillem 31d8592662 input: item: add input_item_Parse
This function doesn't use a background thread, contrary to
libvlc_MetadataRequest(). It will be used by the Medialibrary that has its own
background thread.
2019-06-03 16:15:55 +02:00
Thomas Guillem 55f66069ab player: add vout<->es_id getters
Events are not enough, specially when an interface pops in the middle of a
player playback.
2019-06-03 16:15:55 +02:00
Thomas Guillem 42e8a35e76 player: associate ES ids in vout_changed event
This will allow API users to clearly identify vouts.
2019-06-03 16:15:55 +02:00
Thomas Guillem 5e2b7ab2f5 decoder: also send the ES id with vout events 2019-06-03 16:15:54 +02:00
Steve Lhomme 973ddbacad libvlc: remove libvlc_video_get_marquee_string() 2019-05-29 16:35:59 +02:00
Steve Lhomme f141c44cf0 libvlc: document which function was used to set the user values 2019-05-29 16:22:06 +02:00
Rémi Denis-Courmont 32bc2c18cf misc: remove unused vlc_error_string() 2019-05-28 19:56:08 +03:00
Thomas Guillem 4d75329c8f Revert "Remove libvlc_free"
As decided by the VLC TC.
 - 4 in favor: David, Denis, Hugo, Thomas
 - 1 against: Rémi

cf. discussion here https://mailman.videolan.org/pipermail/vlc-devel/2019-May/124752.html

This reverts commit fa0d74966e.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
Signed-off-by: Denis Charmet <typx@videolan.org>
2019-05-28 14:06:54 +02:00
Steve Lhomme 80ea20b275 libvlc: document the function to call to release some allocated structures 2019-05-27 15:29:07 +02:00
Thomas Guillem ffa6409883 input: remove unused input_Control 2019-05-23 10:21:44 +02:00
Thomas Guillem 8a165f9e41 input: remove INPUT_NAV_*
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem 816fa6c376 input: remove INPUT_*_PCR
This was only used by netsync that is disabled for now.
This need to be ported to the new player and clock.
2019-05-23 10:21:44 +02:00
Thomas Guillem e364f49599 input: remove INPUT_*_VIEWPOINT
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem 8d41d941d5 input: remove INPUT_GET_*OUT*
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem 426e761c7e input: move input_AddSlave to vlc_player 2019-05-23 10:21:44 +02:00
Thomas Guillem 737e7db0a0 input: remove bookmark handling
It is unusable now, since there is no player API for it. It need to be handled
by the media library module.
2019-05-23 10:21:44 +02:00
Thomas Guillem 323558111e input: remove INPUT_RESTART_ES_BY_ID
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem 7723dd007f input: remove INPUT_SET_RENDERER
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem 744bc2a2ba input: remove INPUT_GET_ES_OBJECTS
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem fbec8c85c8 input: remove INPUT_GET_FULL_TITLE_INFO
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem 19265a4d58 input: remove legacy var and event handling
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Romain Vimont 80a8553e8a libvlc: player: rename stop() to stop_async()
The new player stops asynchronously. This is a breaking change, so use a
different function name.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:59 +02:00
Romain Vimont de3727296e libvlc: player: remove will_play()
This function is meaningless on the new player.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:56 +02:00
Romain Vimont fb5b4934df player: add on_device_changed callback
Expose the "device" event on the aout via a player callback.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:49 +02:00
Romain Vimont cff059cc20 player: make the lock optionally reentrant
This will allow to implement the old libvlc API using the new player.

<https://mailman.videolan.org/pipermail/vlc-devel/2019-May/124461.html>

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:46 +02:00
Francois Cartegnie 051237a0ef fourcc: change TTML fcc for registered one 2019-05-20 16:57:38 +02:00
Steve Lhomme 5419978884 video output: misc cleaning
Use the local variables when possible
+ more doc on the viewpoint event
2019-05-20 15:04:12 +02:00
Rémi Denis-Courmont 405a6f878b lib: remove stray Doxygen cross-references 2019-05-19 14:24:51 +03:00
Rémi Denis-Courmont fa0d74966e Remove libvlc_free
(cherry picked from commit 61f0547b72)
2019-05-19 14:24:01 +03:00
Rémi Denis-Courmont 94105be6cf lib: actually return bool
This fixes the old int-for-bool return values from before 1.1.0 and the
later cargo culted ones.
2019-05-19 10:48:58 +03:00
Rémi Denis-Courmont 5c432216bc lib: libvlc_set_fullscreen() takes a boolean 2019-05-19 10:48:58 +03:00
Rémi Denis-Courmont 2deb291381 configuration: fix typo 2019-05-18 20:19:16 +03:00
Rémi Denis-Courmont 250654ce54 filter: remove filter_chain_MouseEvent() no-op 2019-05-15 20:26:33 +03:00
Rémi Denis-Courmont a2b9bf8798 filter: remove unused SPU mouse callback 2019-05-15 20:24:14 +03:00
Steve Lhomme cf16b6f0e7 libvlc: use a callback to select the plane to render to
When rendering in Direct3D11 to NV12 we use 2 planes in the same texture.
2019-05-11 07:33:55 +02:00
Steve Lhomme 9b6e022193 libvlc: add support for HDR10 metadata during the rendering start 2019-05-11 07:33:55 +02:00