Thomas Guillem
cb1b9717d0
player: rename vlc_player_*Track to EsId
In order to clearly identify functions using a vlc_es_id_t*.
And add Track helpers.
7 years ago
Thomas Guillem
b25d1b3484
hotkeys: use own subtitle sync implementation
7 years ago
Thomas Guillem
f00932a33e
hotkeys: pass intf to handlers
7 years ago
Thomas Guillem
57d834cd27
include vlc_input_item.h instead of vlc_input.h
7 years ago
Thomas Guillem
ee4afd6821
remove unused #include <vlc_input.h>
7 years ago
Thomas Guillem
42e8a35e76
player: associate ES ids in vout_changed event
This will allow API users to clearly identify vouts.
7 years ago
Rémi Denis-Courmont
03be397d82
rc: don't define --rc-unix is not available
7 years ago
Thomas Guillem
ae0f98f72f
rc: fix item leak
There is no need to hold the item since the player is locked while it is
accessed.
Fixes #22328
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
7 years ago
Thomas Guillem
60220ade56
rc: lock the player only once while processing commands
And avoid racy states due to successive lock/unlock
Refs #22328
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Conflicts:
modules/control/rc.c
7 years ago
Rémi Denis-Courmont
e22b496b5f
rc: fix potential use-after-free
7 years ago
Rémi Denis-Courmont
b5543e33a8
rc: add cli and oldrc aliases
7 years ago
Rémi Denis-Courmont
1f128ba388
rc: rename back to rc from oldrc
7 years ago
Rémi Denis-Courmont
60eb593c18
rc: fix potential use-after-free
7 years ago
Rémi Denis-Courmont
a862cfbdab
rc: move outstanding void commands to table
7 years ago
Rémi Denis-Courmont
daf758a1e4
rc: remove unused arguments to void command handlers
7 years ago
Rémi Denis-Courmont
8ecf33f5db
rc: split out snapshot command
(and avoid nonsensical string comparison on void variable)
7 years ago
Rémi Denis-Courmont
a29f55d397
rc: use separate callback for void player commands
7 years ago
Rémi Denis-Courmont
5c5007d957
rc: use separate callback for void playlist commands
7 years ago
Rémi Denis-Courmont
7721510638
rc: pass intf_thread_t rather than vlc_object_t pointer
7 years ago
Rémi Denis-Courmont
23a7951266
rc: don't name macro and function the same
7 years ago
Rémi Denis-Courmont
0c99962f65
rc: don't block input/playlist commands when paused
Lua RC does allow them.
7 years ago
Rémi Denis-Courmont
d3af793572
rc: use a table for commands with parameters
7 years ago
Rémi Denis-Courmont
1133a865e0
rc: use a table for parameter-less commands
7 years ago
Rémi Denis-Courmont
5458013bf8
rc: move command processing to separate function
7 years ago
Rémi Denis-Courmont
2aee653993
rc: add missing static qualifier
7 years ago
Rémi Denis-Courmont
16011d3745
rc: reorder to avoid forward declarations
7 years ago
Rémi Denis-Courmont
24c528d2fd
oldrc: remove unused return values
7 years ago
Rémi Denis-Courmont
872f721a95
oldrc: inline Quit()
7 years ago
Rémi Denis-Courmont
2dced88706
oldrc: inline statistics update
7 years ago
Rémi Denis-Courmont
ac3bb239ae
oldrc: remove unused oldval and data arguments
7 years ago
Rémi Denis-Courmont
12900e5e7b
oldrc: command call handler functions directly
...instead of going through the variable subsystem.
7 years ago
Rémi Denis-Courmont
16f4ac4701
oldrc: remove dead code
There are no "command" variables on the LibVLC instance object left.
7 years ago
Thomas Guillem
800a530f3e
hotkeys: re-indent after last commit
7 years ago
Thomas Guillem
aa6d395b62
player: change vout events
No real functional changes. Changes the callback and enum names to reflect the
real event: vout are now started and stopped. The same vout can be started and
stopped several time.
7 years ago
Rémi Denis-Courmont
c182eacdad
dbus: avoid precedence warning
7 years ago
Romain Vimont
50c0fa5d65
player: pass old_caps to on_capabilities_changed
The capabilities are stored in a bitset. When it changes, it may be
useful to know its old value, to know which capability changed.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
FeRD (Frank Dana)
48e593f164
dbus: Correct introspection data
The MPRIS2 introspection metadata contained several errors and
omissions inconsistent with the official MPRIS2.2 spec:
- The Player.Position property should be type 'x', not 'i'
- The Player.Shuffle property should be type 'b', not 'd'
- The Player.{Minimum,Maximum}Rate properties should be read-only,
not read-write
- The Player.CanGo{Next,Previous} properties were not declared,
despite being implemented
- The Player.Seeked signal was not declared, despite being emitted
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
FeRD (Frank Dana)
3b7e27afc6
dbus: Reorder introspection to match spec
The metadata in dbus_introspection.h was listed neither in
alphabetical order, nor in the same order used in the MPRIS2
specification. This commit reorders elements to match the spec,
making reconciliation easier. No changes made to any element.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Rémi Denis-Courmont
0fc1c56d66
oldrc: fix warning
7 years ago
Rémi Denis-Courmont
318a2102ea
oldrc: fix format strings
Fix support for 32-bits platforms.
Regression from 46ea30cd17 .
7 years ago
Victorien Le Couviour--Tuffet
46ea30cd17
oldrc: use new playlist / player
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Victorien Le Couviour--Tuffet
f9c971daef
hotkeys: use new playlist / player and refactor
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Victorien Le Couviour--Tuffet
06e4e42bf7
actions: reorder into relevant sections
This is used by the next commit for refactor purposes.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Victorien Le Couviour--Tuffet
fe676e9d1d
gestures: enhance gesture detection
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Victorien Le Couviour--Tuffet
be98642508
gestures: use new playlist / player
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Victorien Le Couviour--Tuffet
b9c656d103
dbus: fix MPRIS MediaPlayer2 interface properties
The user interface can be brought to the front, if present.
The MPRIS MediaPlayer2.TrackList interface is implemented.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Victorien Le Couviour--Tuffet
688bc9ec9b
dbus: use new playlist / player
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Thomas Guillem
802ec079d2
win_msg: use new playlist / player
7 years ago
Thomas Guillem
ea87e14247
netsync: disable for now
7 years ago
Steve Lhomme
987e7371bb
ntservice: don't use a temporary conversion to printf a wide char string
7 years ago