1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-16 16:02:54 +02:00
Commit Graph

4915 Commits

Author SHA1 Message Date
Jean-Baptiste Kempf
e0d96420fe More extensions for the open dialog 2012-10-02 18:30:32 +02:00
Jean-Baptiste Kempf
d12d32c772 Support opening of wtv files 2012-10-01 13:24:38 +02:00
Rémi Denis-Courmont
c8d471d5ec tls: add service parameter for handshake
This will be used for fine-grained GnuTLS stored public keys,
i.e. SSH-like authentication on first use.
2012-09-30 16:45:12 +03:00
Rémi Denis-Courmont
d40dc861c4 dialog: support format strings in dialog_Question() 2012-09-30 16:45:11 +03:00
Rémi Denis-Courmont
c6acfbb343 tls: pass host name to handshake function, simplify 2012-09-30 16:45:11 +03:00
Rémi Denis-Courmont
52eb2b94e6 tls: simplify server code 2012-09-29 23:12:15 +03:00
Rémi Denis-Courmont
ba0d112f5b tls: keep credentials when HTTP reconnects
Keeping the credentials container saves some times, as we do not need
to load and parse all of the 100+ Certificate Authorities again.
In the future, it will also avoid reloading the stored public keys
(i.e. security exceptions), or asking for user confirmation again.

Given how the HTTP access is written, the credentials are now preserved
upon seeking. Unfortunately, they are not recycled across redirections
as access_t.p_sys gets destroyed internally. This also does not work
across multiple inputs - support from the instance or input manager
would be required.
2012-09-29 21:26:43 +03:00
Rémi Denis-Courmont
3b14b63995 tls: unify server and client credential & session concepts
The TLS plugin now supports reusing the same set of credentials for
multiple sessions also on the client side.
2012-09-29 21:26:43 +03:00
Rémi Denis-Courmont
79139b20fb block: add block_FilePath() to load a file into a block_t 2012-09-29 19:13:52 +03:00
Rémi Denis-Courmont
5344b8e889 tls: clean up server credentials activation prototype 2012-09-29 19:13:49 +03:00
Rémi Denis-Courmont
179ffb95f4 tls: allocate server session in core
This enables the use of vlc_custom_create() and, later, sharing more
code between server and client sides.
2012-09-29 19:12:52 +03:00
Rémi Denis-Courmont
91f2c8072a block: add VLC_MALLOC attribute as appropriate 2012-09-29 18:31:23 +03:00
Rémi Denis-Courmont
6f74124e45 Revert "Add new API to libvlc for persistent equalizer settings."
This reverts commit 32596ea810.
2012-09-21 13:54:55 +03:00
Mark Lee
32596ea810 Add new API to libvlc for persistent equalizer settings.
New methods are provided to:

 - get the available equalizer presets;
 - get the available frequency bands (useful for creating a UI);
 - create a new default equalizer, or create a new equalizer from a preset;
 - release a previously created equalizer;
 - get/set preamp and individual frequency amplification values;
 - apply equalizer settings to a media player.

Equalizer settings are persistent, can be made whether media is currently playing or not, and will automatically be applied to subsequently played media.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2012-09-15 15:16:17 +02:00
Rémi Denis-Courmont
8629a3fed7 config: add integer list callbacks for config items 2012-09-15 10:30:48 +03:00
Jean-Baptiste Kempf
5d643801a1 Forgotten opus extension registration 2012-09-13 01:47:49 +02:00
Rémi Denis-Courmont
3cfff8dba9 Write generic semaphore back-end and merge generic thread code 2012-09-11 12:31:14 +03:00
Rémi Denis-Courmont
fba184a0ca rwlock: reduce footprint and factor Win32 and OS/2 back-ends 2012-09-10 18:24:29 +03:00
Rafaël Carré
ecb0421854 Public keys should be constant data 2012-09-10 15:05:32 +02:00
Rémi Denis-Courmont
84f5d45571 compat: mark getpid() as not throwing exceptions in C++
This makes the definition consistent with glibc (NaCl).
2012-09-08 19:14:32 +03:00
Rémi Denis-Courmont
fa51c9939b Fix comment for VLC_CONFIG_LIST_CB 2012-09-06 19:26:51 +03:00
Mark Lee
eda125cd0a Add missing "; " delimiter in subtitles extensions.
Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-09-05 13:20:04 +02:00
Timothy B. Terriberry
af4805700c Opus decoder.
This patch uses the information passed by the demuxer in block_t's
i_nb_samples and i_length to properly handle pre-skip, seeking
pre-roll, and end-trim. Multi-channel decoding should work. It also
adds .opus to the list of supported formats.

Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-09-03 23:22:40 +02:00
Rémi Denis-Courmont
92e270ebd6 Remove old MSVC and Borland work-arounds 2012-09-03 12:45:28 +03:00
Rémi Denis-Courmont
5bf7136dcf Remove work-around for antique versions of MSVC 2012-09-03 12:45:28 +03:00
Rémi Denis-Courmont
cbcf6bbdc8 Remove useless alloca() work-around
We do not use (non-standard) alloca() anymore.
2012-09-03 12:45:28 +03:00
Rémi Denis-Courmont
a7b2dcf0ee Remove WinCE 2012-09-02 12:22:01 +03:00
Rémi Denis-Courmont
a5b8b24f21 Remove redundant UNDER_CE checks
WIN32 is defined also on WinCE anyway.
2012-09-02 10:57:35 +03:00
Angelo Haller
0df51d03d9 Move mime type guessing by extension to separate file and export it
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2012-08-28 19:06:04 +02:00
Rémi Denis-Courmont
40b04bc133 Define brightness keys, zoom keys and missing media keys 2012-08-28 06:59:43 +03:00
KO Myung-Hun
7c5514122d OS/2: Include sys/types.h in vlc_configuration.h
This fixes the following error.

-----
make.exe[1]: Entering directory `F:/lang/work/vlc/vlc.git/modules/demux/mkv'
  CXX    libmkv_plugin_la-virtual_segment.lo
In file included from ../../../include/vlc_common.h:938,
                 from mkv.hpp:45,
                 from demux.hpp:28,
                 from virtual_segment.cpp:27:
../../../include/vlc_configuration.h:104: error: 'ssize_t' does not name a type
../../../include/vlc_configuration.h:106: error: 'ssize_t' does not name a type
In file included from mkv.hpp:53,
                 from demux.hpp:28,
                 from virtual_segment.cpp:27:
../../../include/vlc_charset.h:153: warning: 'warn_unused_result' attribute ignored
make.exe[1]: *** [libmkv_plugin_la-virtual_segment.lo] Error 1
make.exe[1]: Leaving directory `F:/lang/work/vlc/vlc.git/modules/demux/mkv'
make.exe: *** [all] Error 2
-----

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2012-08-26 18:58:35 +02:00
Zoran Turalija
61e310a323 Deinterlace: Add hotkey to cycle through deinterlace modes.
Allow easier cycling through available deinterlace modes
instead of painfully going through menus.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2012-08-26 18:37:44 +02:00
Rémi Denis-Courmont
ec377ed3c7 Partial atomic replacement for antiquated GCC versions (fixes #6825) 2012-08-23 21:01:52 +03:00
Rémi Denis-Courmont
d22cf31fe1 Fix vlc_atomic_compare_swap() return value
(Though in practice, the only call site ignores the return value.)
2012-08-23 21:01:51 +03:00
Rémi Denis-Courmont
2e186c72e0 Remove untenable const qualifiers from vlc_atomic_get() 2012-08-23 21:01:50 +03:00
Rémi Denis-Courmont
9cd91f9294 str_format_meta(): take playlist as parameter directly
Also inline str_format().
2012-08-21 21:31:54 +03:00
Rémi Denis-Courmont
1c4f1394e0 Unexport ml_Create() and ml_Destroy() 2012-08-21 21:31:53 +03:00
Rémi Denis-Courmont
4d14350c9a ML: remove an unused function 2012-08-21 21:31:53 +03:00
Rémi Denis-Courmont
6b19c14310 stream_Demux: add getters for position, length and time (refs #3145) 2012-08-21 18:32:52 +03:00
Rémi Denis-Courmont
85b213028c vlc_UrlParse: rewrite, de-inline and simplify 2012-08-20 23:06:18 +03:00
Rémi Denis-Courmont
33dfab3c21 vlc_path2uri(): rename from make_URI() and always convert path
When there is an ambiguity, the caller is responsible for determining
whether a string is an URL or a path. In most cases, the string is
known as a file path.
2012-08-20 21:01:33 +03:00
Rémi Denis-Courmont
d53bf1b3f1 Repack module_config_t
Also do not save garbage, especially pointers, in the plugin cache.
2012-08-20 00:33:27 +03:00
Rémi Denis-Courmont
acc457d1f0 config: improve/fix the callback prototype for config item choices 2012-08-20 00:33:23 +03:00
Rémi Denis-Courmont
04e363a945 plugin: use separate description command for lists and list callbacks 2012-08-20 00:07:11 +03:00
Rémi Denis-Courmont
b8a57f9695 Remove configuration item actions for now
This hinders the following commits. This was only used in a single
plugin on a single platform, and was poorly designed.
2012-08-20 00:07:11 +03:00
Rémi Denis-Courmont
0dd263ce48 vlc_UrlIsNotEncoded: remove dead function 2012-08-19 17:57:56 +03:00
Rémi Denis-Courmont
7b9e62c257 vlc_getaddrinfo: pass AI_IDN explicitly where applicable 2012-08-19 16:47:01 +03:00
Rémi Denis-Courmont
16d8d7b790 vlc_getaddrinfo: remove useless parameter 2012-08-19 16:46:57 +03:00
Rémi Denis-Courmont
13bd012152 vlc_getaddrinfo: port is unsigned, 0 means unspecified 2012-08-19 16:23:20 +03:00
Rémi Denis-Courmont
6db9d209cb libvlc: cosmetics 2012-08-16 22:11:06 +03:00