]> git.sesse.net Git - vlc/log
vlc
9 years agoaudiotrack: increase audio latency
Thomas Guillem [Fri, 20 Feb 2015 09:13:37 +0000 (10:13 +0100)]
audiotrack: increase audio latency

Queue more than one audio buffer at a time (limit of 1 second). TimeGet will
report a bigger delay, but the module will be more stable and more efficient.

AudioTrack delay is now calculated by JNIThread when a buffer is written.
Overall delay is calculated in TimeGet by adding AudioTrack delay and queued
delay.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudioscrobbler: keep track of active input object
Rémi Denis-Courmont [Thu, 19 Feb 2015 22:36:39 +0000 (00:36 +0200)]
audioscrobbler: keep track of active input object

Fix callback leak.

9 years agogrowl: use input-current callback and simplify
Rémi Denis-Courmont [Thu, 19 Feb 2015 22:13:13 +0000 (00:13 +0200)]
growl: use input-current callback and simplify

9 years agonotify: use input-current callback and simplify
Rémi Denis-Courmont [Thu, 19 Feb 2015 22:12:38 +0000 (00:12 +0200)]
notify: use input-current callback and simplify

9 years agovlc_list_children: use vlc_value_t.p_address, not .p_object
Rémi Denis-Courmont [Thu, 19 Feb 2015 22:09:31 +0000 (00:09 +0200)]
vlc_list_children: use vlc_value_t.p_address, not .p_object

This was a remnant from the times of VLC_VAR_OBJECT.

9 years agoplaylist: Set the playlist input thread before triggering a callback
Jonas Lundqvist [Thu, 19 Feb 2015 12:39:06 +0000 (12:39 +0000)]
playlist: Set the playlist input thread before triggering a callback

Close #13972

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoContribs: Reduce git clone time by using --depth 1
Jérémy Carrier [Thu, 19 Feb 2015 16:03:28 +0000 (17:03 +0100)]
Contribs: Reduce git clone time by using --depth 1

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMpeg mux: fix compilation
Jean-Baptiste Kempf [Thu, 19 Feb 2015 13:48:48 +0000 (14:48 +0100)]
Mpeg mux: fix compilation

9 years agotools: require protoc version 2.6.0 or higher
Sébastien Toque [Thu, 19 Feb 2015 06:22:10 +0000 (07:22 +0100)]
tools: require protoc version 2.6.0 or higher

Signed-off-by: Rafaël Carré <funman@videolan.org>
9 years agoios build script: remove legacy configure flag
Felix Paul Kühne [Wed, 18 Feb 2015 20:33:32 +0000 (21:33 +0100)]
ios build script: remove legacy configure flag

9 years agoYoutube: improve description parsing
Jean-Baptiste Kempf [Wed, 18 Feb 2015 18:17:47 +0000 (19:17 +0100)]
Youtube: improve description parsing

Close #13973

9 years agoScreen: improve wording
Jean-Baptiste Kempf [Wed, 18 Feb 2015 18:11:21 +0000 (19:11 +0100)]
Screen: improve wording

Close #13971

9 years agoDTV: add DVB-S2 stream support on Linux (fixes #12034)
Rémi Denis-Courmont [Wed, 18 Feb 2015 17:41:23 +0000 (19:41 +0200)]
DTV: add DVB-S2 stream support on Linux (fixes #12034)

9 years agoDTV: add stream parameter for DVB-S2 (refs #12034)
Rémi Denis-Courmont [Wed, 18 Feb 2015 17:40:42 +0000 (19:40 +0200)]
DTV: add stream parameter for DVB-S2 (refs #12034)

9 years agoDTV: DVB-T2 PLP ID is between 0 and 255
Rémi Denis-Courmont [Wed, 18 Feb 2015 17:35:22 +0000 (19:35 +0200)]
DTV: DVB-T2 PLP ID is between 0 and 255

9 years agoMark unreachable code on GCC even if NDEBUG
Rémi Denis-Courmont [Tue, 17 Feb 2015 21:10:16 +0000 (23:10 +0200)]
Mark unreachable code on GCC even if NDEBUG

This might suppress some warnings (and very slightly reduce code size)
when assertions are disabled. Not that I particularly like to create
VLC-specific macros.

9 years agomacosx: fix float-on-top in combination with fullscreen
David Fuhrmann [Tue, 17 Feb 2015 19:10:12 +0000 (20:10 +0100)]
macosx: fix float-on-top in combination with fullscreen

9 years agooss: initialize current device value at start
Rémi Denis-Courmont [Tue, 17 Feb 2015 18:42:57 +0000 (20:42 +0200)]
oss: initialize current device value at start

9 years agoMPEG mux: fix compilation
Jean-Baptiste Kempf [Tue, 17 Feb 2015 08:28:44 +0000 (09:28 +0100)]
MPEG mux: fix compilation

Close #13963

9 years agoWin32: reimplement tmpfile()
Jean-Baptiste Kempf [Mon, 16 Feb 2015 18:17:10 +0000 (19:17 +0100)]
Win32: reimplement tmpfile()

Because tmpfile() cannot be used if not admin on the machine on
Windows...

Close #13642

9 years agosout_standard: remove unused typedef
Rémi Denis-Courmont [Mon, 16 Feb 2015 17:51:39 +0000 (19:51 +0200)]
sout_standard: remove unused typedef

9 years agoplaylist: remove dead code and malloc(0)
Rémi Denis-Courmont [Mon, 16 Feb 2015 17:33:28 +0000 (19:33 +0200)]
playlist: remove dead code and malloc(0)

9 years agosout_description: fix malloc usage
Rémi Denis-Courmont [Mon, 16 Feb 2015 17:45:10 +0000 (19:45 +0200)]
sout_description: fix malloc usage

malloc(0) can return NULL. Don't use it to generate a non-NULL value
(NULL is the error code for sout_stream_t.pf_add).

9 years agosout_description: missing check in initialization
Rémi Denis-Courmont [Mon, 16 Feb 2015 17:43:46 +0000 (19:43 +0200)]
sout_description: missing check in initialization

9 years agowin32: remove non-standard empty struct
Rémi Denis-Courmont [Mon, 16 Feb 2015 17:25:03 +0000 (19:25 +0200)]
win32: remove non-standard empty struct

As far as I can tell, this is not allowed by the ISO C specification
(it is permitted in C++ though).

9 years agoQt: fix always on top deactivation on Windows
Jean-Baptiste Kempf [Sun, 15 Feb 2015 22:49:32 +0000 (23:49 +0100)]
Qt: fix always on top deactivation on Windows

See QTBUG-30359
Close #13646

9 years agomux: ts: fix memory leak
Hannes Domani [Sun, 15 Feb 2015 18:19:44 +0000 (19:19 +0100)]
mux: ts: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agox264: fix memory leak
Hannes Domani [Sun, 15 Feb 2015 18:18:08 +0000 (19:18 +0100)]
x264: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoContribs: sort the packages in alphabetical order
Jean-Baptiste Kempf [Sun, 15 Feb 2015 16:03:50 +0000 (17:03 +0100)]
Contribs: sort the packages in alphabetical order

9 years agomacosx: Do not force-pause playback when resume dialog is shown
David Fuhrmann [Sun, 15 Feb 2015 13:03:56 +0000 (14:03 +0100)]
macosx: Do not force-pause playback when resume dialog is shown

9 years agomacosx: Hide prefs window if application is inactive
David Fuhrmann [Sun, 15 Feb 2015 10:54:18 +0000 (11:54 +0100)]
macosx: Hide prefs window if application is inactive

Makes sure the prefs window does not stay on top and hides
all other applications if VLC is inactive.

9 years agoContrib: compile Qt native tools too
Jean-Baptiste Kempf [Fri, 13 Feb 2015 18:11:39 +0000 (19:11 +0100)]
Contrib: compile Qt native tools too

9 years agoSimple channel mixer: refuse 1 channel input
Jean-Baptiste Kempf [Thu, 12 Feb 2015 21:41:18 +0000 (22:41 +0100)]
Simple channel mixer: refuse 1 channel input

9 years agolua: attempt to clarify playlist documentation
Rémi Denis-Courmont [Thu, 12 Feb 2015 21:05:25 +0000 (23:05 +0200)]
lua: attempt to clarify playlist documentation

9 years agolua: update example input item option
Rémi Denis-Courmont [Thu, 12 Feb 2015 21:05:09 +0000 (23:05 +0200)]
lua: update example input item option

9 years agocontrib: ssh2: explicitely depend on gcrypt
Rafaël Carré [Thu, 12 Feb 2015 20:58:32 +0000 (21:58 +0100)]
contrib: ssh2: explicitely depend on gcrypt

OpenSSL is the default if both exist

9 years agoDirectSound: always set the original_channels
Jean-Baptiste Kempf [Thu, 12 Feb 2015 20:34:08 +0000 (21:34 +0100)]
DirectSound: always set the original_channels

Ref #13826

9 years agodarwin aout modules: fix mono playback (refs #13826)
Felix Paul Kühne [Thu, 12 Feb 2015 19:47:15 +0000 (20:47 +0100)]
darwin aout modules: fix mono playback (refs #13826)

This matches the ALSA implementation now.

9 years agofreetype: fix linking on Darwin
Felix Paul Kühne [Thu, 12 Feb 2015 15:04:47 +0000 (16:04 +0100)]
freetype: fix linking on Darwin

9 years agospeexdsp: add speex alias
Rémi Denis-Courmont [Thu, 12 Feb 2015 19:00:37 +0000 (21:00 +0200)]
speexdsp: add speex alias

9 years agospeexdsp: fix integer overflow (probably fixes #5781)
Rémi Denis-Courmont [Thu, 12 Feb 2015 18:54:58 +0000 (20:54 +0200)]
speexdsp: fix integer overflow (probably fixes #5781)

9 years agogui: fix .gitignore cat error
Rémi Denis-Courmont [Thu, 12 Feb 2015 17:14:29 +0000 (19:14 +0200)]
gui: fix .gitignore cat error

9 years agoContrib: update gpg-error
Jean-Baptiste Kempf [Thu, 12 Feb 2015 16:42:25 +0000 (17:42 +0100)]
Contrib: update gpg-error

9 years agodash: fix invalid C++11 suffix literals
Jonathan Calmels [Thu, 12 Feb 2015 15:32:00 +0000 (16:32 +0100)]
dash: fix invalid C++11 suffix literals

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodemux: ogg: check packets header size (fix #13875)
Francois Cartegnie [Thu, 12 Feb 2015 10:17:22 +0000 (11:17 +0100)]
demux: ogg: check packets header size (fix #13875)

9 years agoconfigure: move SOCKET_LIBS to Makefiles where needed
Rémi Denis-Courmont [Thu, 12 Feb 2015 06:37:57 +0000 (08:37 +0200)]
configure: move SOCKET_LIBS to Makefiles where needed

9 years agoconfigure: move LIBM to Makefiles
Rémi Denis-Courmont [Thu, 12 Feb 2015 06:36:46 +0000 (08:36 +0200)]
configure: move LIBM to Makefiles

9 years agoconfigure: remove remove reference to nonexistent access_rtmp plugin
Rémi Denis-Courmont [Thu, 12 Feb 2015 06:19:21 +0000 (08:19 +0200)]
configure: remove remove reference to nonexistent access_rtmp plugin

9 years agostream_out: remove Makefile recursion
Rémi Denis-Courmont [Wed, 11 Feb 2015 16:44:41 +0000 (18:44 +0200)]
stream_out: remove Makefile recursion

9 years agoaccess_output: remove Makefile recursion
Rémi Denis-Courmont [Wed, 11 Feb 2015 16:28:45 +0000 (18:28 +0200)]
access_output: remove Makefile recursion

9 years agovisualization: remove Makefile recursion
Rémi Denis-Courmont [Wed, 11 Feb 2015 16:21:23 +0000 (18:21 +0200)]
visualization: remove Makefile recursion

9 years agogui: remove Makefile recursion
Rémi Denis-Courmont [Wed, 11 Feb 2015 16:10:34 +0000 (18:10 +0200)]
gui: remove Makefile recursion

9 years agoAdd missing rpath
Rémi Denis-Courmont [Wed, 11 Feb 2015 16:01:44 +0000 (18:01 +0200)]
Add missing rpath

9 years agoconfigure: fix missing smb plugin
Rémi Denis-Courmont [Thu, 12 Feb 2015 06:06:03 +0000 (08:06 +0200)]
configure: fix missing smb plugin

9 years agoTS demux: fix DVB program selection
Rafaël Carré [Wed, 11 Feb 2015 21:38:28 +0000 (22:38 +0100)]
TS demux: fix DVB program selection

If the first program of the PAT has no PMT or no ES, we will get stuck forever.
Return from demux probe immediately, to let user select the desired program later.

For example on Astra S19.2E:
dvb:// --dvb-frequency 12551500 --dvb-polarization V --dvb-srate 22000000 --dvb-fec 5/6

9 years agoquartztext: fix typo
Rafaël Carré [Wed, 11 Feb 2015 21:35:29 +0000 (22:35 +0100)]
quartztext: fix typo

9 years agosvg: don't build as a static library
Rafaël Carré [Wed, 11 Feb 2015 21:34:57 +0000 (22:34 +0100)]
svg: don't build as a static library

9 years agoKeep using previous text_renderer install folder
Rafaël Carré [Wed, 11 Feb 2015 21:34:38 +0000 (22:34 +0100)]
Keep using previous text_renderer install folder

9 years agovideo_filter: fix opencv build
Tristan Matthews [Wed, 11 Feb 2015 19:02:14 +0000 (14:02 -0500)]
video_filter: fix opencv build

9 years agotheora: fix comment
Tristan Matthews [Wed, 11 Feb 2015 18:37:01 +0000 (13:37 -0500)]
theora: fix comment

9 years agobootstrap: fix aarch64 HOST recognition
Thomas Guillem [Wed, 11 Feb 2015 09:49:31 +0000 (10:49 +0100)]
bootstrap: fix aarch64 HOST recognition

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agomux: remove Makefile recursion
Rémi Denis-Courmont [Tue, 10 Feb 2015 21:47:58 +0000 (23:47 +0200)]
mux: remove Makefile recursion

9 years agoconfigure: remove reference to nonexistent noise plugin
Rémi Denis-Courmont [Tue, 10 Feb 2015 21:17:35 +0000 (23:17 +0200)]
configure: remove reference to nonexistent noise plugin

9 years agovideo_filter: remove Makefile recursion
Rémi Denis-Courmont [Tue, 10 Feb 2015 16:46:50 +0000 (18:46 +0200)]
video_filter: remove Makefile recursion

9 years agovideo_filter: clean up and sort build rules
Rémi Denis-Courmont [Tue, 10 Feb 2015 16:45:18 +0000 (18:45 +0200)]
video_filter: clean up and sort build rules

9 years agoconfigure: remove no-op
Rémi Denis-Courmont [Tue, 10 Feb 2015 16:29:27 +0000 (18:29 +0200)]
configure: remove no-op

9 years agocontrol: remove Makefile recursion
Rémi Denis-Courmont [Tue, 10 Feb 2015 16:15:33 +0000 (18:15 +0200)]
control: remove Makefile recursion

9 years agocontrol: clean up build rules
Rémi Denis-Courmont [Tue, 10 Feb 2015 16:08:28 +0000 (18:08 +0200)]
control: clean up build rules

9 years agodemux: mpeg: avoid false positives with WAVE/dts (fix #13866)
Francois Cartegnie [Tue, 10 Feb 2015 18:02:01 +0000 (19:02 +0100)]
demux: mpeg: avoid false positives with WAVE/dts (fix #13866)

9 years agologger/android: use "verbose" var
Thomas Guillem [Tue, 10 Feb 2015 13:25:36 +0000 (14:25 +0100)]
logger/android: use "verbose" var

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolua: fix opening of scripts on Windows on non-ASCII path
Jean-Baptiste Kempf [Tue, 10 Feb 2015 13:51:51 +0000 (14:51 +0100)]
lua: fix opening of scripts on Windows on non-ASCII path

Close #13752

9 years agoLua: use the VLC wrapper to open files
Jean-Baptiste Kempf [Tue, 10 Feb 2015 13:54:01 +0000 (14:54 +0100)]
Lua: use the VLC wrapper to open files

Ref #13752

9 years agoRevert "lua extensions: open a URI, not a filepath"
Jean-Baptiste Kempf [Tue, 10 Feb 2015 12:57:33 +0000 (13:57 +0100)]
Revert "lua extensions: open a URI, not a filepath"

This reverts commit 916c380e2bf648968af243523a242ff83c048558.

Ref #13752

9 years agolua: always use vlclua_dofile
Jean-Baptiste Kempf [Tue, 10 Feb 2015 12:56:16 +0000 (13:56 +0100)]
lua: always use vlclua_dofile

Ref #13752

9 years agoCheck tools with '-version' too
Geoffrey Métais [Tue, 10 Feb 2015 11:05:23 +0000 (12:05 +0100)]
Check tools with '-version' too

Some tools, like ant, have -version arg and not --version

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoUpdate NEWS and MODULES_LIST
Jean-Baptiste Kempf [Tue, 10 Feb 2015 10:25:04 +0000 (11:25 +0100)]
Update NEWS and MODULES_LIST

9 years agoaudiotrack: add java module
Thomas Guillem [Tue, 10 Feb 2015 09:58:51 +0000 (10:58 +0100)]
audiotrack: add java module

This module is based on the old native audiotrack but uses the public Java
AudioTrack API via JNI. All JNI operations are done in a separate thread in
order to avoid the overhead when attaching and detaching the current thread to
the Java VM.

News since native audiotrack:
 - Flush discards audio immediately (if not wait).
 - It can handle a mediaserver crash and restart (for Android 5.0 and after).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: remove native module
Thomas Guillem [Tue, 10 Feb 2015 09:58:50 +0000 (10:58 +0100)]
audiotrack: remove native module

Remove this module to leave room for new Java AudioTrack module.

Indeed AudioTrack private API is not usable after Android 4.4, since there are
some virtual methods that are only defined in private headers. Therefore, these
methods won't have symbols and dlsym won't work.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudio_filter: remove Makefile recursion
Rémi Denis-Courmont [Mon, 9 Feb 2015 19:08:41 +0000 (21:08 +0200)]
audio_filter: remove Makefile recursion

9 years agoRevert "audio_filter: remove Makefile recursion"
Rémi Denis-Courmont [Mon, 9 Feb 2015 22:18:54 +0000 (00:18 +0200)]
Revert "audio_filter: remove Makefile recursion"

This reverts commit 812425ba2952e6ef4613381f5ba654ac08bfaed5.

9 years agoDirect3D: use more standard log functions
Jean-Baptiste Kempf [Mon, 9 Feb 2015 19:39:43 +0000 (20:39 +0100)]
Direct3D: use more standard log functions

9 years agolib: remove unused GCC-ism macro
Rémi Denis-Courmont [Mon, 9 Feb 2015 19:12:40 +0000 (21:12 +0200)]
lib: remove unused GCC-ism macro

9 years agoaudio_filter: remove Makefile recursion
Rémi Denis-Courmont [Mon, 9 Feb 2015 19:08:41 +0000 (21:08 +0200)]
audio_filter: remove Makefile recursion

9 years agotext_renderer: remove Makefile recursion
Rémi Denis-Courmont [Mon, 9 Feb 2015 18:40:46 +0000 (20:40 +0200)]
text_renderer: remove Makefile recursion

9 years agopacketizer: remove Makefile recursion
Rémi Denis-Courmont [Mon, 9 Feb 2015 18:18:54 +0000 (20:18 +0200)]
packetizer: remove Makefile recursion

Also fix dependency on codec/h264_nal.lo

9 years agocodec: dts: fix custom channel mapping detection/tautology
Francois Cartegnie [Mon, 9 Feb 2015 18:36:00 +0000 (19:36 +0100)]
codec: dts: fix custom channel mapping detection/tautology

9 years agodemux: mkv: handle 0 trailed DTS samples (fix #12725)
Francois Cartegnie [Mon, 9 Feb 2015 15:56:43 +0000 (16:56 +0100)]
demux: mkv: handle 0 trailed DTS samples (fix #12725)

Sounds like a broken encoder (growing frame size from N-1 to N twice)

9 years agoandroid: convert Android logger to module
Thomas Guillem [Mon, 9 Feb 2015 10:20:04 +0000 (11:20 +0100)]
android: convert Android logger to module

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoremove android from old logger interface
Thomas Guillem [Mon, 9 Feb 2015 10:10:42 +0000 (11:10 +0100)]
remove android from old logger interface

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoextras/tools: explicitly check for xz
Sean McGovern [Sun, 8 Feb 2015 18:59:47 +0000 (13:59 -0500)]
extras/tools: explicitly check for xz

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodemux: mpeg: don't format check WAVE header for dts
Francois Cartegnie [Mon, 9 Feb 2015 12:30:58 +0000 (13:30 +0100)]
demux: mpeg: don't format check WAVE header for dts

refs A-codecs/DTS/dts/dtswavsample16.wav

9 years agopacketizer: dts: 16LE: read header from converted buffer
Francois Cartegnie [Mon, 9 Feb 2015 11:24:58 +0000 (12:24 +0100)]
packetizer: dts: 16LE: read header from converted buffer

refs A-codecs/DTS/dts/dtswavsample16.wav

9 years agodemux: mpeg: return frame size for dts and skip framing checks with raw dts
Francois Cartegnie [Sun, 8 Feb 2015 13:58:06 +0000 (14:58 +0100)]
demux: mpeg: return frame size for dts and skip framing checks with raw dts

This reverts commit 1f0c9de8b05929cd24cc23d0ec26678ce5ba2d8b.

9 years agojournal: relicence to LGPL
Rémi Denis-Courmont [Sun, 8 Feb 2015 15:51:34 +0000 (17:51 +0200)]
journal: relicence to LGPL

9 years agoconsole: fix licence
Rémi Denis-Courmont [Sun, 8 Feb 2015 15:51:02 +0000 (17:51 +0200)]
console: fix licence

This comes from src/misc/messages.c with new code.

9 years agofile: convert file logger to a logger module
Rémi Denis-Courmont [Sun, 8 Feb 2015 15:35:31 +0000 (17:35 +0200)]
file: convert file logger to a logger module

9 years agoDirect3D9: destroy video hwnd to prevent handle leak
Hannes Domani [Sun, 8 Feb 2015 13:08:50 +0000 (14:08 +0100)]
Direct3D9: destroy video hwnd to prevent handle leak

IDirect3DDevice9_Present() creates an event like this:
\Sessions\1\BaseNamedObjects\DwmDxBltEvent_a7045e

But it isn't closed with IDirect3DDevice9_Release(), only explicitely
destroying the video window closes the event handle.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoDirect3D9: release compile shader buffers
Hannes Domani [Sun, 8 Feb 2015 12:19:00 +0000 (13:19 +0100)]
Direct3D9: release compile shader buffers

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoDirect2D: release factory and dll
Hannes Domani [Sun, 8 Feb 2015 11:57:19 +0000 (12:57 +0100)]
Direct2D: release factory and dll

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolibvlc: fix small race
Rémi Denis-Courmont [Sun, 8 Feb 2015 14:34:45 +0000 (16:34 +0200)]
libvlc: fix small race