Jean-Baptiste Kempf
3325ee2b7b
RemoteOSD: remove tabs
7 years ago
Rémi Denis-Courmont
e48a8a9eb2
objects: add vlc_object_instance()
...instead of open-coded access to obj->obj.libvlc
7 years ago
Steve Lhomme
28f14fbf67
modules: misc video_format usage cleaning
7 years ago
Steve Lhomme
a45a76f41c
modules: misc video_format usage cleaning
7 years ago
Steve Lhomme
17e7fba457
image: clean video_format_t input/output usages of image_ReadUrl() callers
7 years ago
Steve Lhomme
62904dbc92
image: remove the source video_format parameter from image_ReadUrl()
It's always an empty video format with an 0 chroma. The format will be known
from the MIME type or the file probing.
7 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
7 years ago
Rémi Denis-Courmont
911f41f51b
remoteosd: remove unused parameter
8 years ago
Rémi Denis-Courmont
1d646945c4
remoteosd: use vlc_tls functions
8 years ago
Steve Lhomme
6d0c8b2277
modules: transform float to vlc_tick_t using vlc_tick_from_sec()
8 years ago
Steve Lhomme
0f5add8e00
spu:mosaic: read the delay directly in vlc_tick_t
8 years ago
Steve Lhomme
33fcc7feec
spu:marq: read the timeout value as a vlc_tick_t
8 years ago
Steve Lhomme
8a29bb2f50
spu:marq: convert the refresh value using VLC_TICK_FROM_MS()
8 years ago
Steve Lhomme
db82abe388
subsdelay: use __MIN() to make the code more obvious
8 years ago
Steve Lhomme
02adb7e647
subsdelay: SubsdelayEstimateDelay() returns an vlc_tick_t
8 years ago
Steve Lhomme
2ca1778da7
subsdelay: make obvious code more obvious
There are only 3 modes, the first one has returned already, the second falls back
to the third one.
8 years ago
Steve Lhomme
4453c59e4d
subsdelay: replace hardcoded CLOCK_FREQ multiples by VLC_TICK_FROM_SEC()
8 years ago
Steve Lhomme
d00662744b
subsdelay: use VLC_TICK_FROM_MS() and store using vlc_tick_t
8 years ago
Steve Lhomme
2487320084
subsdelay: expand factor macros and simplify code
8 years ago
Steve Lhomme
d164b376e5
subsdelay: keep the factor in float as it was read
8 years ago
Steve Lhomme
be8197f572
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
Steve Lhomme
5ceb2c7e12
modules: use vlc_timer_schedule_asap() instead of more complex calls
8 years ago
Steve Lhomme
911e511f43
subsdelay: replace hardcoded CLOCK_FREQ fractions by VLC_TICK_FROM_MS()
Easier to read and more explicit.
8 years ago
Steve Lhomme
6b970b2026
rss: convert the "speed" in microseconds to ticks using VLC_TICK_FROM_US()
8 years ago
Steve Lhomme
911569be2c
modules: convert variables in seconds to ticks using vlc_tick_from_sec()
8 years ago
Steve Lhomme
d5e794f802
modules: replace hardcoded CLOCK_FREQ multiples by VTICK_FROM_SEC()
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
Rémi Denis-Courmont
902dd36bbd
configure: remove LIBPTHREAD
POSIX threads are always enabled implicitly.
8 years ago
Steve Lhomme
a5baa39e35
subsdelay: the local offset is an mtime_t
8 years ago
Steve Lhomme
3d9ec4ed10
rss: i_speed is an mtime_t
8 years ago
Francois Cartegnie
66926f600c
vlc_subpicture: respect ODR in updater_sys
8 years ago
Steve Lhomme
04db84cd9c
modules: replace use of 1000000 on time values by CLOCK_FREQ
Modified-by: Thomas Guillem <thomas@gllm.fr>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
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
Romain Vimont
4c8b741e48
core: replace filter_sys_t* by void*
See #17078
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years ago
Rémi Denis-Courmont
1bbbe098ff
config: remove advanced from add_rgb()
8 years ago
Rémi Denis-Courmont
ebaa32f561
config: remove advanced from add_loadfile()
8 years ago
Rémi Denis-Courmont
776811e9f2
config: remove advanced from add_password()
8 years ago
Zan Li
1e606c0ffe
remoteosd: properly check for gcrypt_cipher_open errors
The implementation of vnc_encrypt_bytes called by vnc_connect needs to add a
return value check on function gcry_cipher_open.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years ago
Rémi Denis-Courmont
6f14081af7
dynamicoverlay: fix memory corruption
Font alpha is 8-bits, not 32-bits.
8 years ago
Rémi Denis-Courmont
74efed0d82
dynamicoverlay: fix undefined signed overflow
8 years ago
Steve Lhomme
fbe8e49ef7
modules: remove implied filter_sys_t* casts
8 years ago
Rémi Denis-Courmont
35b8735442
subsdelay: fix double translation (refs #19769 )
8 years ago
Rémi Denis-Courmont
0d6cb7a602
include: remove <vlc_memory.h>
This only ever contained a single helper function.
8 years ago
Rémi Denis-Courmont
fc3ecc7ff5
remoteosd: fix useless copy, warning
../../modules/spu/remoteosd.c: In function ‘vnc_connect’:
../../modules/spu/remoteosd.c:363:5: warning: ‘strncpy’ output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation]
strncpy(pv, "RFB 003.003\n", sz_rfbProtocolVersionMsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 years ago
Michał Trzebiatowski
4d390cb3dc
i18n: corrections of missing spaces and new lines
Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Thomas Guillem
a1bcc48572
spu: logo: fix logo not displayed if pos x/y are -1
9 years ago
Alexander Lakhin
0c218a0f45
Remove unnecessary spaces from messages
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years ago
Thomas Guillem
c48c48ea7b
rss: use vlc_alloc helper
9 years ago