Steve Lhomme
16f953deb1
netsync: use vlc_sockaddr to read addresses
2 years ago
Steve Lhomme
3f613a85f5
vlc_threads: move poll() definitions in a separate header
It's using a compat version on Windows/Android/OS2 which is not available
to external modules.
This new header can't be used directly from external modules on Windows.
This makes vlc_threads.h usable from external modules on Windows.
3 years ago
Steve Lhomme
55eba1ae2e
modules: include vlc_threads.h when using vlc_savecancel()
3 years ago
Steve Lhomme
36017f9c3a
modules: add a fancy name to internal threads
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
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
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
Rémi Denis-Courmont
10e04ed87a
netsync: appropriate --network-synchronisation
6 years ago
Rémi Denis-Courmont
15626377ff
netsync: use autorun to start
6 years ago
Rémi Denis-Courmont
0b6f8e5c7c
Check for <poll.h> explicitly
6 years ago
Thomas Guillem
ee4afd6821
remove unused #include <vlc_input.h>
7 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
8 years ago
Thomas Guillem
034a3f75a2
core: move playlist to playlist_legacy
To make room for the new playlist.
This playlist_legacy will be removed once all modules are using the new
playlist.
8 years ago
Steve Lhomme
b4dfbc6283
rename mdate() to vlc_tick_now()
The lua "mdate" remains the same.
8 years ago
Steve Lhomme
8b0c6bb9fa
rename msleep() to vlc_tick_sleep()
8 years ago
Steve Lhomme
ff56c92a5e
rename mtime_t to vlc_tick_t
Keep a copy of vlc_tick_tfor backward compatibility.
8 years ago
Jean-Baptiste Kempf
977ed86ca8
Use "IP" for IP address
11 years ago
Rémi Denis-Courmont
56220f8612
vlc_plugin: fix non-LGPL plugins meta infos
12 years ago
Rémi Denis-Courmont
d760499fd9
netsync: check received packet sizes
12 years ago
Rémi Denis-Courmont
cc69b31845
netsync: fix and simplify dead input handling ( fixes #5426 )
12 years ago
Rémi Denis-Courmont
3c2c9364a1
Handle NULL value in "input-current" callback
12 years ago
Rémi Denis-Courmont
3cd098faaf
netsync: fix stale pointer on error
12 years ago
Rémi Denis-Courmont
c4199ab677
Remove inconsistently used HAVE_UNISTD_H
13 years ago
Rémi Denis-Courmont
08223d48e9
Remove pf_run
14 years ago
Jean-Baptiste Kempf
22ec4bef78
Fix strings mistake for translation
15 years ago
Jean-Baptiste Kempf
f1cb218805
Netsync: fix return type
15 years ago
Rémi Denis-Courmont
028174606c
netsync: don't sleep on poll() EINTR
16 years ago
Rémi Denis-Courmont
40b4d780a4
add_bool: remove callback parameter
16 years ago
Rémi Denis-Courmont
f98a66cea0
add_integer: remove callback parameter
16 years ago
Rémi Denis-Courmont
3204d23260
Remove legacy parameter from add_string()
16 years ago
Rémi Denis-Courmont
e621ea035d
Fix/improve some strings
16 years ago
Jean-Baptiste Kempf
28856b8cff
Revert "Netsync: kill 2 warnings"
This reverts commit cabb37428b .
16 years ago
Jean-Baptiste Kempf
cabb37428b
Netsync: kill 2 warnings
16 years ago
Rémi Duraffort
89b42584a9
Revert "Missing return values."
This reverts commit 46626b9d1d .
Dead code.
17 years ago
Rémi Duraffort
46626b9d1d
Missing return values.
17 years ago
Rémi Denis-Courmont
7e4d50ac42
Remove pl_Release, and rename pl_Hold back to pl_Get
pl_Hold() assumed the playlist was already created.
pl_Release() does not solve any problem. Playlist synchronization is
done with the playlist lock, while playlist deletion must anyway be done
after all interfaces, services and other threads are joined.
17 years ago
Laurent Aimar
028ea651e5
Extended input_GetPcrSystem to also return the current delay.
17 years ago
Laurent Aimar
82954f9756
Create the synchronization thread only when needed (netsync).
17 years ago
Laurent Aimar
188b465fab
Clean up a bit netsync.
17 years ago
Laurent Aimar
4d3a8532ad
No functional changes (K&R + no hungarian notations, netsync).
17 years ago
Laurent Aimar
30fd105fe8
Cosmetics (netsync).
17 years ago
Jean-Paul Saman
1c1ae9cbf2
netsync: rewrite
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
17 years ago
Rémi Denis-Courmont
a6d927b07a
Remove sys/types.h check
We assume it is present in plenty of places anyway
17 years ago
Rémi Denis-Courmont
49397ad54d
Remove useless <fcntl.h> and <sys/time.h> inclusions
17 years ago
Rémi Denis-Courmont
224be7ea73
Netsync: use var_Inherit
17 years ago
Rémi Duraffort
3147cc20d4
add_bool wants booleans.
17 years ago
Rémi Denis-Courmont
fa4bde0b26
Trailing ;
18 years ago
Rémi Denis-Courmont
0549228196
Remove most stray semi-colons in module descriptions
Those multi-lines are still to be done (it's going to be fun...)
See also 5af4cc854b .
18 years ago
Sebastien Escudier
c46a622afa
Allow 0 TTL
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
18 years ago
Rémi Denis-Courmont
36aca393c5
Remove intf_ShouldDie
libvlc kills the interfaces when it dies anyway.
18 years ago