Francois Cartegnie
378d1b8d07
live555: set opus source rate & channels
4 years ago
Johannes Kauffmann
e21ba24dfd
access: live555: reorder includes
4 years ago
Johannes Kauffmann
e8a2a63d8d
access: live555: include C++ assert
4 years ago
Johannes Kauffmann
265bf2beaf
access: live555: include C++ limits
4 years ago
Johannes Kauffmann
7408c8dd38
access: live555: use C++ stdint, drop inttypes
The format specifiers of inttypes are not needed here.
4 years ago
Johannes Kauffmann
70fedf2523
access: live555: Adapt to 2020.12.11+ API changes
Since live555 2020.12.11, the API has changed. This should fix builds
with the latest version while still allowing contribs to pass.
Ref !1897 .
Fixes #25473 .
Co-authored-by: Dominic Mayers <dominic.mayers@meditationstudies.org>
Co-authored-by: Pei Jia <jiapei@longervision.com>
4 years ago
Marvin Scholz
cd1eb55eee
access: live555: use std::min/max where applicable
4 years ago
Thomas Guillem
c55033cf75
modules: access: handle vlc_credential_get interruption
Fix a possible interrupt miss if vlc_credential_get() receive an
interruption and if access don't check vlc_killed() before doing I/O.
Refs #27027
4 years ago
Thomas Guillem
9edef14aa2
keystore: change vlc_credential_get return type
No functional changes.
Refs #27027
4 years ago
Francois Cartegnie
f083c0ff7e
codec: opus_header: add init/clean cycle methods
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
Tristan Matthews
c73d61a5f5
live555: fill in Opus extradata
This does not make the live555 module dependent on libopus, just the helper
functions in opus_header.{c,h}
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
ebf9c64c5b
access: live555: constify transformed url param
5 years ago
Francois Cartegnie
b3efd9bfea
access: live555: remove xmalloc
5 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
d75459a35b
remove unnecessary option longtext
where identical to shorttext, or near enough.
bad because:
- wastes resources.
- useless tooltips in prefs GUI (poor UX) - tooltip longtext should add
something of value.
- useless repetition of text in certain help output.
in some cases they differed only in full-stop, creating unnecessary extra
burden on translators.
7 years ago
Rémi Denis-Courmont
48b847a41f
live555: use VLC_DEMUXER_* codes
6 years ago
Will Newton
6dee6325ec
modules/access/live555.cpp: Fix crash parsing H264 config
The buffer allocated for parsing the H264 config string is not
sufficient, causing a possible heap overflow. Size the buffer
more accurately to prevent this happening.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
7 years ago
Francois Cartegnie
058b80f218
access: live555: tag AU_END on M-bit hint for HEVC/H264
Allows early process of the AU without waiting next
block for sync code.
8 years ago
Thomas Guillem
6df5d5db51
input: change rate argument
Use a float and inverse it.
Before, the int rate value for a 4x speed was 250 (INPUT_RATE_DEFAULT / 250 =
4.f). Now, for a 4x speed, the float value will be 4.f.
7 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
7 years ago
Steve Lhomme
929f09bfc0
core: use vlc_tick_t for DEMUX_SET_TIME officially
8 years ago
Steve Lhomme
a58b739d06
core: use vlc_tick_t for DEMUX_GET_LENGTH officially
8 years ago
Steve Lhomme
07666913ef
core: use vlc_tick_t for DEMUX_GET_TIME officially
8 years ago
Steve Lhomme
0da141b193
live555: use helper function to convert to vlc_tick_t from floating point seconds
8 years ago
Steve Lhomme
e6351e3c03
live555: the last pts and pcr are vlc_tick_t values
8 years ago
Francois Cartegnie
393030d22c
access: live555: don't send keepalive over rtcp
breaks data flow
http://lists.live555.com/pipermail/live-devel/2009-January/010108.html
8 years ago
Hugo Beauzée-Luyssen
0c95abaa28
live555: Use vlc::threads
8 years ago
Hugo Beauzée-Luyssen
f2ecfbbfbe
live555: Use new instead of calloc
8 years ago
Francois Cartegnie
e5870f5a5c
access: live555: generate dts
8 years ago
Romain Vimont
2d8cd77ba3
Define C++ types in namespaces
In order to respect ODR, in C++ code, declare *_sys_t types in a
separate namespace, either unnamed if it's used only in one translation
unit, or named otherwise.
The GUI modules qt and skins2 are left unchanged for now.
See #17078 and #18033
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years ago
Francois Cartegnie
68be47c991
live555: set dts on VP8
8 years ago
Steve Lhomme
2f270fa357
live555: use helper function to convert to vlc_tick_t from floating point seconds
8 years ago
Steve Lhomme
12b7f43465
modules: use vlc_tick_from_sec() to convert to ticks instead of CLOCK_FREQ
8 years ago
Steve Lhomme
26fef56c52
core: make DEMUX/STREAM_GET_PTS_DELAY officially a vlc_tick_t
8 years ago
Steve Lhomme
f8872ec589
modules: the "network-caching" is always translated to a vlc_tick_t
8 years ago
Steve Lhomme
543e9fb997
modules: use vlc_timer_disarm() instead of a call with 0 delay
The intent is more readable this way and can be reworked later.
8 years ago
Steve Lhomme
7f7fb3dddf
live555: convert the timer interval in ticks using vlc_tick_from_sec()
8 years ago
Steve Lhomme
c598485c1f
live555: use vlc_tick_from_timeval() for timeval conversion
8 years ago
Steve Lhomme
bdcbc671cc
modules: convert 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
0a2428559d
modules: replace hardcoded CLOCK_FREQ fractions by VLC_TICK_FROM_MS()
8 years ago
Steve Lhomme
ded62a069f
rename VLC_TS_0 to VLC_TICK_0
8 years ago
Steve Lhomme
1f17997348
rename VLC_TS_INVALID to VLC_TICK_INVALID
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
Hugo Beauzée-Luyssen
e10bfe46f9
live555: remove trailing whitespace
8 years ago
Hugo Beauzée-Luyssen
1aaf923f49
live555: Fix potential null dereference
Fix CD 4ad6cf87-d686-4199-bc1c-ba9c4b62ad77
8 years ago
Steve Lhomme
8571288de4
use mtime_t for ES_OUT_SET_PCR
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years ago
Steve Lhomme
5a70cb3ccb
modules: use CLOCK_FREQ/2 instead of 500000 mtime_t
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years ago