]> git.sesse.net Git - vlc/log
vlc
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

9 years agolibvlc: go to libvlc_Ended rather than libvlc_Stopped at EOS
Rémi Denis-Courmont [Sun, 8 Feb 2015 14:32:10 +0000 (16:32 +0200)]
libvlc: go to libvlc_Ended rather than libvlc_Stopped at EOS

This is what the tests expect, and was the final status before the
merge of ABORT and DEAD input events.

In fact, libvlc_Stopped does not really correspond to anything: it has
no STOPPED_S equivalent in the input thread state. The only way to
reach it is to call libvlc_media_player_stop() explicitly.
Regardless, lets keep it for backward compatibility.

9 years agoFortunes
Jean-Baptiste Kempf [Sun, 8 Feb 2015 13:12:42 +0000 (14:12 +0100)]
Fortunes

9 years agojournal: add native logger module for the SystemD Journal
Rémi Denis-Courmont [Sun, 8 Feb 2015 12:55:37 +0000 (14:55 +0200)]
journal: add native logger module for the SystemD Journal

9 years agolibvlc: provide file name and line number
Rémi Denis-Courmont [Sun, 8 Feb 2015 12:23:49 +0000 (14:23 +0200)]
libvlc: provide file name and line number

9 years agologger: track file, line and function for debug
Rémi Denis-Courmont [Sun, 8 Feb 2015 12:23:34 +0000 (14:23 +0200)]
logger: track file, line and function for debug

9 years agoclock: use msg_Err()
Rémi Denis-Courmont [Sun, 8 Feb 2015 12:11:58 +0000 (14:11 +0200)]
clock: use msg_Err()

9 years agomsg: simplify msg_GenericVa() macro
Rémi Denis-Courmont [Sun, 8 Feb 2015 12:08:57 +0000 (14:08 +0200)]
msg: simplify msg_GenericVa() macro

9 years agosyslog: convert to logger module
Rémi Denis-Courmont [Sun, 8 Feb 2015 11:15:28 +0000 (13:15 +0200)]
syslog: convert to logger module

9 years agoconsole: convert console logger to module
Rémi Denis-Courmont [Sun, 8 Feb 2015 09:54:10 +0000 (11:54 +0200)]
console: convert console logger to module

9 years agologger: allow logger as a module
Rémi Denis-Courmont [Sat, 7 Feb 2015 22:02:45 +0000 (00:02 +0200)]
logger: allow logger as a module

9 years agologger: make the logger a new object type
Rémi Denis-Courmont [Sat, 7 Feb 2015 21:00:55 +0000 (23:00 +0200)]
logger: make the logger a new object type

9 years agomodules: remove plugins count from the plugins cache
Rémi Denis-Courmont [Sat, 7 Feb 2015 19:10:57 +0000 (21:10 +0200)]
modules: remove plugins count from the plugins cache

This potentially allows generating the plugins cache on-the-go - there
is no more need to know the total number of plugins ahead of time.

9 years agomodules: revector
Rémi Denis-Courmont [Sat, 7 Feb 2015 19:08:56 +0000 (21:08 +0200)]
modules: revector

Also fix module cache loading if int and uint32_t have different sizes.

9 years agomodules: print error if reading the plugins cache fails
Rémi Denis-Courmont [Sat, 7 Feb 2015 18:42:08 +0000 (20:42 +0200)]
modules: print error if reading the plugins cache fails

(as opposed to reaching premature end-of-file)

9 years agomessages: split logger initialization in two phases
Rémi Denis-Courmont [Sat, 7 Feb 2015 17:28:45 +0000 (19:28 +0200)]
messages: split logger initialization in two phases

To initialize logging, we typically need configuration and command line
parameters. And using modules would also be nice. But we also want to
emit log messages while initializing the configuration and the modules
bank. This is a catch-22.

To work around the problem, we store the early log messages in a
temporary list, and drain the list later once logging is configured.

(Also fix a minor integer overflow involving atoi().)

9 years agoavcodec: fix double free on failure to open subtitles
Jean-Baptiste Kempf [Sun, 8 Feb 2015 08:54:12 +0000 (09:54 +0100)]
avcodec: fix double free on failure to open subtitles

9 years agoavcodec: fix double free on failure to open audio
Alex Converse [Sat, 7 Feb 2015 20:30:32 +0000 (12:30 -0800)]
avcodec: fix double free on failure to open audio

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoWin32: Remove bin extension registration
Jean-Baptiste Kempf [Sun, 8 Feb 2015 07:46:42 +0000 (08:46 +0100)]
Win32: Remove bin extension registration