Thomas Guillem
70dc1f9480
bin: use libvlc_Internal API directly
2024-02-02 10:31:30 +00:00
KO Myung-Hun
e3f60a38d4
bin: fix linkage on OS/2
...
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2021-01-29 15:53:43 +01:00
Rémi Denis-Courmont
c96462163e
xcb/global: use autorun to start
2020-11-21 16:51:38 +02:00
Rémi Denis-Courmont
0c2d3c673d
hotkeys: use autorun to start
2020-11-21 16:51:38 +02:00
Steve Lhomme
5363279805
remove the $Id$ in the source code
2019-01-17 12:21:18 +01:00
Rémi Denis-Courmont
1d233ef6be
lib: remove unused libvlc_playlist_play() parameters
2018-05-09 21:05:37 +03:00
KO Myung-Hun
68c70c11a3
os2: fix crash and memory leaks at exit
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-03-23 09:46:16 +01:00
Rémi Denis-Courmont
20bd2ef03b
vlc: print an error if not starting any interface
...
Rather than failing and existing silently.
2018-03-11 02:09:16 +02:00
Rémi Denis-Courmont
d112b475eb
vlc: do not clobber argv, argc
...
Later patch wants to use argv[0].
2018-03-11 02:09:16 +02:00
Rémi Denis-Courmont
ae6ecfb36e
bin: define VLC_LIB_PATH
...
...when running in build tree.
2018-02-08 21:55:40 +02:00
Rémi Denis-Courmont
334979d154
dbus: add command line option to disable MPRIS
2017-06-18 17:51:41 +03:00
Jean-Baptiste Kempf
b634e6a9c8
Fix comments about Qt4
2016-02-27 17:25:48 +01:00
Rémi Denis-Courmont
d47fcbb413
Revert "--stats: default to false" ( fixes #14035 )
...
This reverts commit c24ea5fb3a
.
Signed-off-by: Rafaël Carré <funman@videolan.org>
2015-03-09 18:41:07 +01:00
KO Myung-Hun
bb3d20e76d
bin: fix SIGSEGV at exit on OS/2
...
--stats was added at commit c24ea5fb3a
.
So free arguments after this.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-02-23 16:38:33 +02:00
Rafaël Carré
c24ea5fb3a
--stats: default to false
2014-01-28 15:27:39 +01:00
Felix Paul Kühne
a868dc7fe1
bin: derive a special Darwin version from vlc.c
2013-11-09 18:07:28 +01:00
Rémi Denis-Courmont
07794538aa
vlc: use libvlc_set_app_id()
2013-06-16 11:34:23 +03:00
Rémi Denis-Courmont
e0de50a5fa
Remove old Nokia N900 hacks
...
These were broken since 6270a4c777
.
2013-02-23 10:33:12 +02:00
Rafaël Carré
dffdc4c734
Rewrite inhibit.c as an "inhibit" interface
...
Remove libvlc hack, and fixes missing input state changes
2012-12-03 14:43:56 +01:00
Rémi Denis-Courmont
f3a44a5f35
vlc: return non-zero exit code if starting failed
2012-11-30 20:29:43 +02:00
Rémi Denis-Courmont
62d68cd9c1
vlc: start hotkeys interface explicitly
...
The actions of the hotkeys interface all affect the playlist, the
playlist's input, the playlist's input's vout(s), the playlist's aout
or the interfaces (controller). It has no use outside VLC.
2012-11-01 22:55:22 +02:00
KO Myung-Hun
04dc21938d
vlc: Convert command line arguments to UTF-8 on OS/2
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2012-10-20 12:27:03 +03:00
Rémi Denis-Courmont
74258e6c12
Call libvlc_set_exit_handler() first
...
It should be called before exit can happen.
This restores reverted commit 4d636fa3a7
.
2012-05-07 19:42:05 +03:00
Rémi Denis-Courmont
feb4063c35
Use environment variable for data directory
...
...as for plugins directory. Most of the content is anyway per-process,
either because gettext and interfaces are per-process. The only caller
of the function that is not an interface or gettext is the DVB scanner.
This is even probably a bug.
2012-03-20 20:43:31 +02:00
Rémi Denis-Courmont
b542d45898
vlc: fix regression with command line arguments
2012-03-20 17:57:02 +02:00
Rémi Denis-Courmont
ae7b55a4f9
vlc: assume UTF-8 and drop dependency on libvlccore
2012-03-19 22:17:00 +02:00
Rémi Denis-Courmont
db36045cd9
Start dbus always, move inhibit and dbus startup to vlc
2012-02-06 22:43:20 +02:00
Rémi Denis-Courmont
62a4f9f3be
Remove the now broken Maemo 5 poll hack
2012-01-19 20:21:46 +02:00
KO Myung-Hun
b5b1c1906f
Fix compilation error due to pthread on OS/2
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-12-15 17:06:44 +02:00
Rafaël Carré
efd58cb463
spelling
2011-11-15 15:58:03 -05:00
KO Myung-Hun
9eb2f121b3
Use kill() instead of pthread_kill() on OS/2.
...
pthread_kill() has not been implemented on OS/2, yet.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-10-11 19:57:53 +03:00
KO Myung-Hun
29d1b42ef2
Disable globalhotkeys, none interface on OS/2
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-10-10 17:25:25 +03:00
KO Myung-Hun
4b5c54ec9f
Fix the problem to free an invalid memory object.
...
The first element allocated by FromLocale() is argv[2] not argv[1].
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-10-10 17:25:24 +03:00
Rémi Denis-Courmont
62f348b047
Do not print start banner if stderr is not a TTY.
...
The user is not going to see the banner, and this tends to clutter
error logs (X server, cron jobs...) - not only on MacOS.
2011-07-16 12:48:48 +03:00
Rémi Denis-Courmont
5eff95a005
Assume we ahve setenv() and unsetenv()
2011-02-12 22:34:54 +02:00
Rémi Denis-Courmont
549ce2cad1
Override the plugins path with an environment variable...
...
...rather than with a command line option. This enables extending the
set of plugins paths globally, for all LibVLC applications.
Using an environment variable seems more logical than a command line
option considering that the module bank is shared by all VLC instances
in the process. In other words, it did not belong as a parameter to
libvlc_new().
2011-02-12 11:04:35 +02:00
Rémi Denis-Courmont
d1ca34ed5b
vlc: use signal handlers rather than sigwait() for SIGCHLD
...
This works around Qt4 QProcess getting stuck waiting for its
SIGCHLD signal handler to be called.
2011-02-03 14:57:00 +02:00
Rémi Denis-Courmont
86c8ef3fb2
vlc: use SETMASK instead of BLOCK
...
We don't really want to inherit the blocked signal mask from our parent.
2011-02-03 14:56:17 +02:00
Rémi Denis-Courmont
5dc560308c
Restore correct SIGCHLD handling
...
This affects way too many code paths. Let KDE fix their own crap.
2011-01-30 14:20:26 +02:00
Rémi Denis-Courmont
2bc307db6f
Do run exit handlers, fix a few leaks
2011-01-30 14:17:21 +02:00
Rémi Denis-Courmont
5094db41a4
Work around QProcess bug (KDE bug #260719 )
2011-01-23 17:49:00 +02:00
Rémi Denis-Courmont
2526aec1be
Remove useless #includes
2010-10-31 11:12:20 +02:00
Rafaël Carré
3f71509f44
Disable media-library by default
...
Enable it in vlc binary
2010-10-20 19:28:02 +02:00
Rémi Denis-Courmont
dadb0622e6
Restore LibVLC/VERSION at the end of the HTTP user agent
2010-09-17 05:25:13 +03:00
Rémi Denis-Courmont
725cf4eb04
Always call _exit() at end to avoid buggy exit handlers
...
Removes the KDE scheduler hack.
2010-08-08 23:06:02 +03:00
Rémi Denis-Courmont
351d62a850
Revert "Call libvlc_set_exit_handler() before the interfaces and playlist start"
...
This reverts commit 4d636fa3a7
.
2010-08-02 19:33:36 +03:00
Rémi Denis-Courmont
4d636fa3a7
Call libvlc_set_exit_handler() before the interfaces and playlist start
2010-08-01 13:51:50 +03:00
Rémi Denis-Courmont
d2c08b113d
Cosmetic fix
2010-08-01 13:50:53 +03:00
Rémi Denis-Courmont
e1c2b18a4d
After 3 seconds, allow SIGINT to kill the process
...
Older versions did that too, and it can be quite useful when debugging.
2010-07-24 13:45:24 +03:00
Rémi Denis-Courmont
7f9b7d3e31
Add a proper API to set the user agent
2010-07-08 22:56:00 +03:00