Alexandre Janniaux
8cf43f02f7
dbus: remove printf
5 years ago
Alexandre Janniaux
4cb715fc83
Makefile.am: add redirection level for plugins
4 years ago
Francois Cartegnie
8b3616567e
DEBUG dbus listen for captions
6 years ago
Alexandre Janniaux
306d5b56f3
cli: fix warnings on uninitialized ret
6 years ago
Alexandre Janniaux
076641dceb
control: cli: copy va_list before usage
The va_list will be used multiple times, so it needs to be copied before
each usage. Without this, it crashes when doing stop / play.
4 years ago
Romain Vimont
b3ccc7b027
hotkeys: do not take snapshots from the UI thread
Snapshots are performed via a call to:
var_TriggerCallback("video-snapshot")
causing its callback (SnapshotCallback) to be called synchronously,
executing the following steps:
- wait for the vout thread to actually capture the (next) frame;
- encode the picture to PNG;
- write the result to disk (I/O).
Since var_TriggerCallback("video-snapshot") is called from the UI
thread, all these blocking actions are also performed on the UI thread.
Move the call to a separate thread.
4 years ago
Thomas Guillem
1c5d29d1f7
player: add a dir_path to vlc_player_SetRecordingEnabled
4 years ago
Johannes Kauffmann
67bcd48102
cli: fix unused parameter warning on Windows
/home/videolan/vlc/extras/package/win32/../../../modules/control/cli/cli.c:212:38: warning: unused parameter 'cl' [-Wunused-parameter]
static int LogOut(struct cli_client *cl, const char *const *args, size_t count,
^
4 years ago
Thomas Guillem
c0de748a3b
player: use double for the position
4 years ago
Rémi Denis-Courmont
0bb7fff7d4
hotkeys: don't assume "deinterlace-mode" exists
Fixes #27179 .
4 years ago
Rémi Denis-Courmont
2390f360d6
cli: print item extra meta data ( fixes #24986 )
4 years ago
Rémi Denis-Courmont
f2b463f98d
cli: print item meta data (refs #24986 )
Note that item->p_meta cannot be NULL.
4 years ago
Rémi Denis-Courmont
0b74dc4fa3
cli: factor strings
4 years ago
Rémi Denis-Courmont
85772a0e65
cli: print infos of playlist items (refs #24986 )
This matches the Lua RC info semantics. If there is an argument print
the infos of the item with that index, rather than the playing item.
4 years ago
Rémi Denis-Courmont
fd0cc5d3bb
cli: make info a playlist command
4 years ago
Rémi Denis-Courmont
82e0b9704e
cli: factor out item printing
4 years ago
Steve Lhomme
36017f9c3a
modules: add a fancy name to internal threads
4 years ago
Rémi Denis-Courmont
64f98d32c9
cli: disable tracks whence toggling ID -1
This matches the pre-4.0 behaviour expected of the track commands.
Fixes #26938 .
4 years ago
Romain Vimont
9c4f4942ed
dbus: notify previous/next state changes
Changes of state indicating if "previous" and "next" actions are enabled
must be signaled to D-Bus.
Fixes #23603
5 years ago
Romain Vimont
9a47f147ec
dbus: simplify previous/next detection
Use the existing playlist API to detect if there is a previous or next
item in the playlist.
5 years ago
Rémi Denis-Courmont
dbf82a4d8c
hotkeys: keep track of video outputs
...and properly deregister callbacks from them at exit.
Fixes #26898 .
4 years ago
Rémi Denis-Courmont
85ff09aa49
hotkeys: factor out vout ES events
4 years ago
Steve Lhomme
b469857dec
vlc_threads: remove the thread priority when creating a thread
It is not used in POSIX systems. On other system it probably don't make a
difference anymore, only Windows has actual useful values for
VLC_THREAD_PRIORITY_XXX. The synchronization is more important than having some
threads called more often than others.
4 years ago
Thomas Guillem
80dd05f921
input_item: category: use a vlc_list
Instead of the legacy array.
4 years ago
Lyndon Brown
4d89ef900d
fix mis-spelling of overridden
a followup to !1044 .
5 years ago
Alexandre Janniaux
6b7a57f984
modules: fix typos
Typos found and reworked from codespell.
5 years ago
Lyndon Brown
6f68f89498
plugins: purge use of set_category()
see e967f81f6a .
note, this does **not** affect cat-based module selection items
(of which there are just three in use by the core), since that
mechanism uses subcats not cats.
7 years ago
Thomas Guillem
46f4ab44dc
cli: don't show hidden info categories
5 years ago
Rémi Denis-Courmont
167f1af49c
globalhotkeys/win32: use semaphore and simplify
5 years ago
Rémi Denis-Courmont
17fe74193c
globalhotkeys/win32: simplify with vlc_obj_malloc()
5 years ago
Rémi Denis-Courmont
d9f95e9ebd
globalhotkeys/win32: remove useless assignment
There are no needs to reset p_sys on error.
(Only the callbacks need to be reset - for affected capabilities.)
5 years ago
Steve Lhomme
3475f8e972
ticks: rename secstotimestr() to vlc_tick_to_str()
5 years ago
Steve Lhomme
a59cb66257
ticks: use a vlc_tick_t with secstotimestr()
This is what it's always used with. No need for lossy conversions to int.
5 years ago
Marvin Scholz
347f73b9a7
Only define VLC_WINSTORE_APP if true
This makes it consistent with all the other uses of such defines in
the source code, which are tested for their existence rather than the
actual value.
5 years ago
Rémi Denis-Courmont
f32f289264
Rationalise not found error codes
We don't need 4 different codes for essentially the same thing, which
is that a certain thing could not be found.
5 years ago
Rémi Denis-Courmont
2e4165c0cc
Introduce VLC_EACCES error code
EACCES means that an operation is not possible in the current state.
This is not to be confused with EPERM meaning that the user does not
have the necessary credentials. Also compare HTTP results 401 and 403.
Also compare with EINVAL (VLC_EBARVAR) meaning that operating is not
possible because the value of a parameter is invalid.
5 years ago
Romain Vimont
e5d44f6af0
vlc_tick: add MIN and MAX constants
Replace INT64_MIN and INT64_MAX used as vlc_tick_t values by
VLC_TICK_MIN and VLC_TICK_MAX.
5 years ago
Francois Cartegnie
f54729f303
control: hotkeys: fix handling of text scaling
5 years ago
Francois Cartegnie
7e13498f3f
control: hotkeys: fix scaling factor computation
regression by f9c971daef
5 years ago
KO Myung-Hun
4ce56f456b
cli: fix SIGSEGV when command has an argument
Co-authored-by: Zhao Zhili <zhilizhao@tencent.com>
6 years ago
Romain Vimont
3716a7da5b
config: remove remaining "advanced" flags
The config "advanced" flag was unused and has been removed by
6a7a137f7b .
It has been removed from many add_*() macros, but not all. Remove it
from the remaining macros.
5 years ago
Lyndon Brown
98c824ab05
add missing 'since' version tags to obsolete options
7 years ago
Thomas Guillem
0bf2da02c2
dbus: increase player timer period
6 years ago
KO Myung-Hun
6a5e26b477
control: cli: fix 'quit' does not quit on OS/2
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
6 years ago
Rémi Denis-Courmont
a4ca0de9e0
cli: use vlc_dup2()
6 years ago
Rémi Denis-Courmont
30d647f78d
hotkeys: fix flawed arithmetic ( fixes #25141 )
6 years ago
Rémi Denis-Courmont
9095693cd4
cli: don't wait for exit to reap dead clients
6 years ago
Rémi Denis-Courmont
8cf92acf06
cli: don't mess with stdout
If we don't use stdout, we should not reconfigure it.
6 years ago
Rémi Denis-Courmont
493568b3e0
cli: allow console and Unix socket modes simultaneously
This allows the interface to process commands both from the standard
input and from incoming Unix socket clients.
This also fixes a bug where socket mode would only start if the
standard input was a TTY or --rc-fake-tty was passed.
6 years ago
Rémi Denis-Courmont
44bd5fccbc
cli: simplify deleting the Unix socket
6 years ago