Thomas Guillem
9d25fc2193
player: rename vlc_player_vout_OSDMessage
To vlc_player_osd_Message.
7 years ago
Thomas Guillem
b864046a74
player: reorganize header
Group every struct/enum/functions by group instead of having all structs, all
enums then all functions.
Split the header by the following doxygen groups:
- Player instance
- Playback control
- Title and chapter control
- Program control
- Tracks control
- Tracks synchronisation (delay)
- Teletext control
- External renderer control
- Audio output control
- Video output control
- Player events
No functional changes.
7 years ago
Steve Lhomme
853fdc85fc
vout: remove always false is_slow
We don't need it anymore.
7 years ago
Thomas Guillem
03a2c820ea
player: rename subtitle lang helper
Same name than the audio one. It is still not used.
7 years ago
Rémi Denis-Courmont
cd80b6ab72
compat: restore posix_memalign()
aligned_alloc() is not portably suitable for over-alignments.
posix_memalign()/memalign() are still needed.
This essentially reverts commit 34cd965645 .
7 years ago
Rémi Denis-Courmont
efcc9a94c6
modules: check deactivation callback type
7 years ago
Rémi Denis-Courmont
915d5bf36a
modules: remove vlc_module_unload() inconvenience wrapper
7 years ago
Rémi Denis-Courmont
0404116817
display: remove useless pointer
If vd->module is NULL, then vd->close is NULL and vlc_objres_clear() is
a no-op, so there are no needs to check.
7 years ago
Rémi Denis-Courmont
08b3f16738
display: make close callback type-specific
7 years ago
Steve Lhomme
4bda0d9dae
vlc_filter: rename filter_chain_New() to filter_chain_NewSPU()
Similar to filter_chain_NewVideo() as this is the only use of this supposedly
generic function.
Also fix the function documentation.
7 years ago
Steve Lhomme
979a0c30e4
display: add macros to set the callbacks and check type of the Open/Close
Also set the capability at the same time as the (de)activate callbacks.
7 years ago
Steve Lhomme
0db9f0812a
display: the deactivate of the module doesn't need to return a value
In fact it never does.
7 years ago
Steve Lhomme
4f48d553f9
decoder device: add a helper macro to set the module (typed) callback/priority
7 years ago
Rémi Denis-Courmont
d83f26f671
plugin: remove dead enum callback code
7 years ago
Rémi Denis-Courmont
32bab3ce06
plugin: move config choice enum callbacks
...out of the descriptor, to some new place with better type safety.
7 years ago
Rémi Denis-Courmont
f5461b212a
plugin: drop version suffix in exported symbols
This is no longer needed.
7 years ago
Rémi Denis-Courmont
23a62109b7
plugin: add meta-data for plugin API version
This is a little bit more flexible than forcing a specific entry point
name dependent on the version.
7 years ago
Steve Lhomme
693bef28d1
vout: simplify the viewpoint moved handling
We don't need a generic event callback anymore since we only handle one type of
event.
Setting a vout_display_owner_t is now optional.
7 years ago
Steve Lhomme
17bc338703
display: the pool callback is now optional
7 years ago
Steve Lhomme
21d8e8c917
vlc_fixup: remap win64 lfind as it expects a unsigned* where we get a size_t*
So now we include search.h for every file we compile.
Co-authored-by: Rémi Denis-Courmont <remi@remlab.net>
7 years ago
Steve Lhomme
a9e0b1124e
vlc_common: fix swab() calls on win32 that don't use const on source pointer
7 years ago
Rémi Denis-Courmont
cd7498d0a8
plugin: fix macro namespace
7 years ago
Rémi Denis-Courmont
542df0f3ad
Use set_callback() where applicable
7 years ago
Rémi Denis-Courmont
de772bf48b
plugin: add set_callback() macro
This avoids registering NULL as a deactivate callback.
7 years ago
Rémi Denis-Courmont
0f9b046a30
gl: move destroy callback to vlc_gl_t
7 years ago
Rémi Denis-Courmont
d1498ca548
decoder: move device close callback
This moves the decoder device close callback to a dedicated
type-specific structure, to avoid type-unsafe variable-arguments
vlc_module_unload().
7 years ago
Francois Cartegnie
c8ada7fb48
vlc_es: disambiguate teletext page/values
7 years ago
Johan Gunnarsson
4858bcdbcc
player: fix on_position_changed docs link
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Hugo Beauzée-Luyssen
a01c835240
vlc_input_item: Fix SPU extensions ordering
7 years ago
Francois Cartegnie
6f6c9455c5
vlc_text_style: remove all karaoke styling
should be rendered by decoder as multiple pictures
7 years ago
Steve Lhomme
a2126600e7
libvlc: remove constraints doc now that we only share a IDirect3D9
Following cfaa0bdfe6
7 years ago
Steve Lhomme
8bcea68edf
libvlc: provide the adapter to use for D3D9 rendering
7 years ago
Tristan Matthews
f528a7d8d6
fourcc: add VP4
7 years ago
Thomas Guillem
6699b98a85
input: remove unused input_resource_TerminateVout() function
7 years ago
Thomas Guillem
72d3ebd544
input: remove unused input_resource_ResetAout() function
7 years ago
Thomas Guillem
88e9f04f1d
input: remove unused input_resource_Terminate() function
7 years ago
Hugo Beauzée-Luyssen
5961eeaa01
medialibrary: Bump version & update API usages
- Multiple thumbnail can now be used
- Discovery, thumbnailing & metadata extractions are now interruptible
- An entry_point_added event has been added
7 years ago
Hugo Beauzée-Luyssen
70d5c4debc
medialibrary: Add media/input_item getters through mrl
7 years ago
Hugo Beauzée-Luyssen
980aa49905
medialibrary: Use va_list for Get parameters
Since we soon will need something else than int64
7 years ago
Steve Lhomme
cfaa0bdfe6
direct3d9: the setup callback returns a IDirect3D9 not a IDirect3DDevice9
It's simpler on the host side and we don't need to be tied to the HWND it would
use internally.
7 years ago
Steve Lhomme
7542ee5343
libvlc: mention the resize callback is for the host size and must be called
It may still work if not called but the rendering won't be nice.
7 years ago
Steve Lhomme
ffb11c5680
decoder: add a decoder device type for MMAL
In the current MMAL code the pictures are allocated once from the display in a
MMAL_POOL_T. The pool could be created in the decoder (push) and created using
the MMAL_PORT_T. It may not possible to use pictures from different pools but
the display should nonetheless be created with the same MMAL_PORT_T.
7 years ago
Steve Lhomme
d06262f25c
codec: document what kind of opaque is used for each decoder device
7 years ago
Roland Bewick
08d142acbd
libvlc: add a key to switch spu channel orders
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Thomas Guillem
c896210b00
player: get vout and vout_order from VIDEO/SPU es_ids
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.
7 years ago
Thomas Guillem
8aecdf1835
player: rename vlc_player_GetVoutFromEsId
To vlc_player_GetEsIdVout(), for consistency with other functions using a
vlc_es_id_t*.
7 years ago
Roland Bewick
eb10f0b60e
vout: spu: handle secondary channel order
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Roland Bewick
96334761c9
player: add multiple tracks selection support
A new function vlc_player_SelectEsIdList() and implement
VLC_PLAYER_SELECT_SIMULTANEOUS.
vlc_player_SelectEsId() now returns the number of tracks selected for the track
category.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Thomas Guillem
dd5ba72db7
player: add a policy to vlc_player_SelectEsId
This will replace the future vlc_player_AddEsId() function (simultaneous).
7 years ago
Roland Bewick
623c39f9da
input: add INPUT_CONTROL_SET_ES_LIST
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago