Steve Lhomme
5363279805
remove the $Id$ in the source code
8 years ago
Steve Lhomme
13ed313833
access_output:udp: compute the lateness only once and save a variable
8 years ago
Steve Lhomme
b3f0f92214
access_output:udp: keep the last date early
8 years ago
Steve Lhomme
b17b44b660
modules: use VLC_TICK_FROM_SEC instead of hardcoded values
8 years ago
Steve Lhomme
8aa92d1bb5
modules: use the vlc_tick_t/ms conversion macros for hardcoded values
8 years ago
Steve Lhomme
25d7af9c59
modules: transform milliseconds value into vlc_tick_t with VLC_TICK_FROM_MS
8 years ago
Rémi Denis-Courmont
d3519891cd
udp out: simplify block allocation
8 years ago
Steve Lhomme
b4dfbc6283
rename mdate() to vlc_tick_now()
The lua "mdate" remains the same.
8 years ago
Steve Lhomme
c2eb32c9e1
rename mwait() to vlc_tick_wait()
The lua "mwait" remains the same.
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
Steve Lhomme
225f73c8f4
access_output: udp: i_to_send is not an mtime_t
8 years ago
Romain Vimont
ff2901aff3
core: remove global *_sys_t typedefs
Do not declare *_sys_t typedefs globally in vlc_common.h. Instead,
declare them locally in each module that provides a definition.
This paves the way to move C++ definitions into anonymous namespaces in
order to respect C++ ODR.
The picture_resource_t and sout_stream_id_sys_t typedefs will be handled
separately, since they require specific additional changes.
See #18033
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years ago
Steve Lhomme
333ed248b9
use the proper check for sys/socket.h availability
8 years ago
Rémi Denis-Courmont
e32479cac1
access_output: allow pf_seek to be NULL, simplify
9 years ago
Rémi Denis-Courmont
c4199ab677
Remove inconsistently used HAVE_UNISTD_H
13 years ago
Rémi Denis-Courmont
f83fbd593e
UDP: use vlc_strerror_c()
13 years ago
Jean-Baptiste Kempf
5221b6f019
Relicense access outputs to LGPL
This is exception of bonjour, because of jlj
13 years ago
Rafaël Carré
6d53362001
Use _WIN32 rather than WIN32 (same for WIN64)
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only
mentions the _ prefixed variable.
gcc will always define the _ prefixed variable, like Visual Studio.
The prefixless one is defined in some language standards, e.g. gnu99
but not c99.
13 years ago
Rémi Denis-Courmont
c0c8d4e2fe
Obsolete confusing --miface-addr option and rework net_SetMcastOut()
--miface-addr mostly did not work as --miface was supposed to be used
instead.
15 years ago
Rémi Duraffort
29abf6f45d
Remove old obsolete variables.
16 years ago
Rémi Denis-Courmont
f98a66cea0
add_integer: remove callback parameter
16 years ago
Rémi Denis-Courmont
e7ee6a9d86
Remove useless <fcntl.h> inclusions
17 years ago
Rémi Denis-Courmont
a52793e924
Remove useless <sys/stat.h> includes
17 years ago
Rémi Denis-Courmont
22fdf98f4c
Remove useless <errno.h> inclusions
17 years ago
Rémi Denis-Courmont
80ba00a810
Avoid ?: GCC-ism
17 years ago
Rémi Denis-Courmont
bc685cdcab
Auto-probe does not make much sense for network access outputs
18 years ago
Rémi Denis-Courmont
1fcd8954bc
Fix memleaks on error path, fix sign warnings, cleanup
18 years ago
Rémi Denis-Courmont
fa4bde0b26
Trailing ;
18 years ago
Rémi Denis-Courmont
0597403277
Remove unused parameter
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
Rémi Denis-Courmont
42051dfb80
Implement ACCESS_OUT_CONTROLS_PACE as needed
18 years ago
Rémi Denis-Courmont
560ccaae6d
UDP out: avoid useless references to p_sout
18 years ago
Rémi Denis-Courmont
dde854142c
UDP access_out: get rid of block_FifoWake and blocking mwait()
18 years ago
Rémi Denis-Courmont
be400691f5
Plugins: push cancellation down
18 years ago
Rémi Duraffort
a48fa03277
Use the right declaration for threaded functions.
18 years ago
Rémi Denis-Courmont
00b9584826
modules: use vlc_object_alive()
18 years ago
Rémi Duraffort
ccea19a630
Fix compiling warning.
18 years ago
Rémi Duraffort
71142c5c0b
Remove unneeded msg_Err and check malloc return value.
18 years ago
Rémi Denis-Courmont
3561b9b28f
Plugins: include vlc_common.h directly instead of vlc/vlc.h
18 years ago
Rémi Denis-Courmont
13ae40b0ef
Use gettext_noop() consistently
18 years ago
Rémi Denis-Courmont
27d483e9ef
Include vlc_plugin.h as needed
19 years ago
Rémi Denis-Courmont
8e65c917b6
Undo --sout-udp-auto-mcast
(was not in previous release, so not adding _obsolete).
19 years ago
Rémi Denis-Courmont
b2b9fb4c30
block_FifoNew: remove un-needed parameter
19 years ago
Rémi Denis-Courmont
97897eeeb2
NIH syndrome cure (2)
19 years ago
Pierre d'Herbemont
449fd28aaf
Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
19 years ago
Rémi Denis-Courmont
8b13b9056d
Unused define
19 years ago
Pierre d'Herbemont
a78e273ec5
misc/objects.c: Don't rely on vlc_object_destroy() to destroy objects, but expects vlc_object_release to do it when the refcount goes to zero.
* Meaning, that when created objects gets a refcount to 1.
* Destroying is instantaneous and we don't have to poll for a few secondss or so to wait until the object's refcount reach 0.
* We now track vlc_object_t's mem leaks when libvlc_global is released (Hard error for now, so they don't get unoticed)
* We fail hard if an object is released with a refcount of 1 without being detached from its parent and its children, to make sure such cases don't go unoticed.
(make test or make check still pass after that one. VLC is known to leak one object when no module is loaded, this must be fixed).
19 years ago
Rémi Denis-Courmont
99fab9089e
Don't include config.h from the headers - refs #297 .
Missing some cases that I could not test.
Also ffmpeg/chroma.c is locked, so I can but leave it broken.
Fix is for the remaining modules is obvious and the issue is easy to detect.
19 years ago
Rémi Denis-Courmont
4f02842805
Revert the so-called whitelisting commits that are actually blacklisting
19 years ago
Rafaël Carré
806cf51658
input options whitelisting, step 2 (refs #1371 )
19 years ago