Thomas Guillem
394b4bf71e
keystore/file: encrypt/decrypt password via AndroidKeyStore
This works only on Android M, the used cipher is AES/CBC/PKCS7Padding, the IV
(Initialisation Vector) is generated by Android, and the key is stored by
Android.
11 years ago
Thomas Guillem
4df30d8af9
keystore/file: add a crypt submodule
This module store credentials and crypted secrets on a file.
The internal crypt API needs to be implemented.
11 years ago
Thomas Guillem
16a725b8a6
keystore/file: use fprintf to write on a FILE
11 years ago
Thomas Guillem
00fc74abfe
keystore/memory: split, add file module
This module is deactivated by default.
11 years ago
Thomas Guillem
2c9cd4e34e
keystore/memory: move list util into a seperate file
11 years ago
Thomas Guillem
ef6f4eea3b
keystore/memory: move code
No functional changes, this just move code in preparation for the next commit.
11 years ago
Thomas Guillem
789f16939b
keystore/memory: remove locked singleton
11 years ago
Thomas Guillem
3078d5ded7
keystore/plaintext: rename to memory
No functional changes.
11 years ago
Marvin Scholz
38452bb3da
macosx: services_discovery/bonjour: Allow compilation with SDKs < 10.11
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years ago
Francois Cartegnie
8f4cf91d8e
demux: adaptive: allow regular http access
11 years ago
Francois Cartegnie
c1161676d5
demux: adaptive: differentiate demux object and stream
11 years ago
Francois Cartegnie
78c24acad1
demux: adaptive: add streamurl based connection
11 years ago
Francois Cartegnie
874a409499
demux: adaptive: close when read contentlength
11 years ago
Francois Cartegnie
e038068ab2
demux: adaptive: rename query to request
11 years ago
Francois Cartegnie
2b80ce5c3e
demux: adaptative: do lazy connect step
11 years ago
Francois Cartegnie
4b6748fecb
demux: adaptive: merge available/canreuse methods
11 years ago
Francois Cartegnie
422d6a4801
adaptive: move connection to connection factory
11 years ago
Francois Cartegnie
61c3a2a626
demux: adaptive: refactor connections
11 years ago
Francois Cartegnie
30c32ef935
demux: mp4: fix double duration with fragmented
Happens with duration on tkhd but empty moov
11 years ago
Francois Cartegnie
871a1f18ca
demux: adaptive: add ConnectionParam class
11 years ago
Francois Cartegnie
287c67fc89
demux: adaptive: sockets: use object instead of string
11 years ago
Francois Cartegnie
fbb15a4a8b
adaptive: httpconnection: use object instead of stream
11 years ago
Thomas Guillem
21e3fded37
android: get JavaVM* from JNI_OnLoad
And set the JavaVM* in a libvlc var option.
This will allow android modules to access a JNIEnv* even when the parent is a
not a libvlc_media_player. This will be used for the android Keystore module
for example.
Furthermore, this simplify the libvlc API when setting an android context.
11 years ago
Felix Paul Kühne
e97065eb84
macosx: respect 'disable-screensaver' option ( closes #16670 )
11 years ago
Filip Roséen
7abef20e8c
include/vlc_plugin.h: fixed problematic linkage on callback argument
The rationale behind this patch is easier to explain with a little bit
of code than in words, but one can summarize it with; "wrong linkage
used for `vlc_set_cb` when `include/vlc_plugin.h` is compiled as C++,
this fixes that".
Explanation
-----------
extern "C" typedef void(*callback_t)();
void cpp_func (callback_t);
Above the name `cpp_func` has C++ linkage, and its type is a C++ function
returning `void`, accepting a pointer-to-function-with-C-linkage (returning
`void` and takes no arguments).
typedef void(*callback_t) ();
extern "C" int c_func (callback_t);
In this example (matching the code in `include/vlc_plugin.h`), the name `c_func`
has C linkage, and its type is a C function returning `int`, accepting a
pointer-to-function-with-C++-linkage (that returns `void` and takes no
arguments).
Conclusion
----------
Since `vlc_entry_*` will be called from C, the first parameter when invoked will
be a pointer to function with C linkage---as such this patch fixes the
previously erroneous linkage.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years ago
Rémi Denis-Courmont
785725cf57
test: fix builds without Lua
Notably "make distcheck".
11 years ago
Thomas Guillem
cbf9ed0a0f
opensles: remove external aout_get_native_sample_rate
Implement it directly in this module.
This avoid a dependency towards android libvlcjni.
11 years ago
Thomas Guillem
61e7080da3
mediacodec: remove external jni_EventHardwareAccelerationError
Replace it by AWindowHandler_sendHardwareAccelerationError.
This avoid a dependency towards android libvlcjni.
This solution is not perfect, it will be removed when decoder fallback is
implemented.
11 years ago
Filip Roséen
4f8ba9b28b
DCP: fixed include-guards
* renamed include-guards to fix issues with reserved identifiers
* replaced comment at `#endif` corresponding to include-guard
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
a2322f5445
MMS access: fixed include-guards
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
13543bc6db
equalizer: fixed include-guard
* renamed include-guard to fix issue with reserved identifier
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
31ac29376c
codecs: fixed include-guards for a52 and cc
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
61ad95a64d
avcodec: fixed include-guards for chroma
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
e3cbd73980
D-Bus control: fixed include-guards
* renamed include-guards to fix issues with reserved identifiers
* replaced comments at `#endif` corresponding to include-guards
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
ffa4c9c35c
ASF demux: fixed include-guards
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
62c6016e7a
AVI demux: renamed reserved identifiers
* Renamed `_AVI_ChunkCount` and `_AVI_ChunkFind` to `AVI_ChunkCount_`
and `AVI_ChunkFind_` respectivelly since the former versions are
reserved identifiers according to the C standard.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
92b83379c3
MKV demux: fixed include-guards
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
890b77c3b5
mp4 demux: fixed include-guards
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
d0c1938231
Qt: fixed include-guards for components
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
66c586cebc
Qt: fixed include-guards for playlist
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
cc096c4264
Qt: fixed include-guard for sout
* renamed include-guard to fix issue with reserved identifier
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
7f829bd17e
Qt: fixed include-guards for util
* renamed include-guards to fix issues with reserved identifiers
* replaced comments at `#endif` corresponding to include-guards
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
db7a417bf9
MMAL: fixed include-guards
* renamed include-guard to fix issue with reserved identifier
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
31ea536898
lua: reserved identifier in function names
* renamed `__PushCommand` to `PushCommand__` since the former is a
reserved identifier and therefor ill-formed according to the C
ISO Standard.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
ecb7c84719
Json webservice: fixed include-guards
* renamed include-guards to fix issue with reserved identifier
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
b14140fc76
mpeg mux: fixed include-guards
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
be387feb22
packetizer helpers: fixed include-guards
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
d1a248bf86
video_chroma: fixed include-guards
* renamed include-guards that were making use of reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
1d81f61a9b
grain video filter: removed usage of reserved identifier
* renamed macro `_STRING` to `STRING_EXPAND`, making it more readable
as well as standard compliant.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Filip Roséen
d60fbdbeea
visual visualization: fixed include-guards
* fixed usage of reserved identifiers
* fixed comment on `#endif` corresponding to include-guard
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago