]>
git.sesse.net Git - vlc/log
Rémi Duraffort [Tue, 23 Jul 2013 19:55:22 +0000 (21:55 +0200)]
Fix many memory leaks (and potential ones)
In case of a wrongly formated file, the strings where never dealocated. Same if
some strings where empty.
Rémi Denis-Courmont [Fri, 26 Jul 2013 16:49:23 +0000 (19:49 +0300)]
araw: zero copy for native audio sample formats
Rémi Denis-Courmont [Fri, 26 Jul 2013 16:36:53 +0000 (19:36 +0300)]
decoder: separate aout initialization from buffer allocation
This has two benefits:
- allow zero copy in audio decoders,
- allow negotiation of the output formats (potentially for S/PDIF).
Rémi Denis-Courmont [Fri, 26 Jul 2013 16:05:29 +0000 (19:05 +0300)]
aout: inline aout_DecDeleteBuffer()
Rémi Denis-Courmont [Fri, 26 Jul 2013 16:04:14 +0000 (19:04 +0300)]
aout: inline aout_DecNewBuffer()
Martin Storsjö [Thu, 25 Jul 2013 13:05:36 +0000 (16:05 +0300)]
androidsurface: Use the ANativeWindow API where available
This makes the android vout work on Android 4.3.
This API is available since Android 2.3/Gingerbread (api level 9).
It's a public, official API, contrary to the earlier hacking by
accessing the internal C++ Surface class directly. In most cases,
the ANativeWindow API is a very thin wrapper doing pretty much
the same as the existing Surface class entry points we've been using.
In Android 4.3, the C++ Surface class lock function we've been using
was renamed again, but using the new corresponding function as
we've done before doesn't work any longer.
Therefore, use the public API where possible (loading it dynamically,
to not break compatibility with pre-2.3 devices).
The only non-public API used in the vout is now the YV12
pixel format, which doesn't work on all devices.
Signed-off-by: Martin Storsjö <martin@martin.st>
Rafaël Carré [Thu, 25 Jul 2013 16:15:38 +0000 (18:15 +0200)]
equalizer: apply preamp twice on 2nd pass
Fixes #8760
Rémi Denis-Courmont [Thu, 25 Jul 2013 20:21:02 +0000 (23:21 +0300)]
ALSA: favor channel maps with fewer unused channels
Rémi Denis-Courmont [Thu, 25 Jul 2013 20:16:34 +0000 (23:16 +0300)]
ALSA: still use VLC configuration to determine available speakers
The ALSA channels maps only indicate the order(s) of channels supported
by the audio adapter. They do not imply that all channels are actually
physically wired.
Rémi Denis-Courmont [Thu, 25 Jul 2013 16:35:32 +0000 (19:35 +0300)]
vdpau: improve decoder capability checks messages
Rémi Denis-Courmont [Thu, 25 Jul 2013 16:05:20 +0000 (19:05 +0300)]
avcodec: rationalize hwaccel copy/extract callback prototype
Rémi Denis-Courmont [Thu, 25 Jul 2013 15:57:18 +0000 (18:57 +0300)]
avcodec: rationalize hwaccel surface allocation callback
Rémi Denis-Courmont [Thu, 25 Jul 2013 15:45:24 +0000 (18:45 +0300)]
avcodec: pass data pointer to hwaccel release callbacks and simplify
Rafaël Carré [Thu, 25 Jul 2013 10:52:41 +0000 (12:52 +0200)]
avcodec audio: update block pointer on realloc
Rafaël Carré [Thu, 25 Jul 2013 10:32:01 +0000 (12:32 +0200)]
contrib: gcrypt: upgrade to 1.5.3
Jean-Baptiste Kempf [Wed, 24 Jul 2013 23:14:32 +0000 (01:14 +0200)]
Fix live555 breakage in last update
Ludovic Fauvet [Wed, 24 Jul 2013 11:01:01 +0000 (13:01 +0200)]
directsound: clear the ring buffer ahead of the write pointer (fix #8860)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Ludovic Fauvet [Wed, 24 Jul 2013 11:01:00 +0000 (13:01 +0200)]
directsound: remove broken notification support
The original code was non-working because the notication was never
setup correctly and resulted in a DSERR_INVALIDCALL. A proper fix
would look like:
if( sys->p_notify )
{
+ IDirectSoundBuffer_Stop( aout->sys->p_dsbuffer );
DSBPOSITIONNOTIFY notif = {.dwOffset = aout->sys->i_write, .hEventNotify = sys->hnotify_evt } ;
if( IDirectSoundNotify_SetNotificationPositions( sys->p_notify, 1, ¬if ) == DS_OK )
{
+ IDirectSoundBuffer_Play( aout->sys->p_dsbuffer, 0, 0, DSBPLAY_LOOPING );
WaitForSingleObject( sys->hnotify_evt, INFINITE );
IDirectSoundBuffer_Stop( aout->sys->p_dsbuffer );
}
But fixing it makes the problem worse since the notification is setup
too late and thus the buffer will replay a full loop of the back
buffer during a drain.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Ludovic Fauvet [Wed, 24 Jul 2013 11:00:59 +0000 (13:00 +0200)]
directsound: remove the broken msleep fallback
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Ludovic Fauvet [Wed, 24 Jul 2013 11:00:58 +0000 (13:00 +0200)]
directsound: clear the rest of the ring buffer too
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Ludovic Fauvet [Wed, 24 Jul 2013 08:32:38 +0000 (10:32 +0200)]
lpcm: fix channel reordering for m2ts (close #8526)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Sebastien Zwickert [Wed, 24 Jul 2013 14:08:17 +0000 (16:08 +0200)]
vda: reset correctly the coded frame size.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Wed, 24 Jul 2013 20:25:10 +0000 (23:25 +0300)]
avcodec: pass AVFrame.opaque to hwaccel release callback
With the reference counting stuff, the AVFrame structure is gone or
unreachable by the time the release function is called.
Rémi Denis-Courmont [Wed, 24 Jul 2013 20:32:27 +0000 (23:32 +0300)]
avcodec: remove va parameter from hwaccel release callback
Rémi Denis-Courmont [Wed, 24 Jul 2013 20:24:51 +0000 (23:24 +0300)]
hwdummy: remove no-op
Rémi Denis-Courmont [Wed, 24 Jul 2013 20:29:21 +0000 (23:29 +0300)]
vaapi: avoid usage of vlc_va_t * from the release callback
This will simplify later commits.
Rémi Denis-Courmont [Wed, 24 Jul 2013 20:25:01 +0000 (23:25 +0300)]
vdpau: remove no-op
Rémi Denis-Courmont [Wed, 24 Jul 2013 20:21:45 +0000 (23:21 +0300)]
vaapi: use AVFrame.opaque to store per-picture state directly
Rémi Denis-Courmont [Wed, 24 Jul 2013 20:21:00 +0000 (23:21 +0300)]
dxva2: use AVFrame.opaque to store internal per-picture state directly
Rémi Denis-Courmont [Wed, 24 Jul 2013 19:48:50 +0000 (22:48 +0300)]
vdpau: fix surface leaks if the picture is not extracted
This can happen in some corner cases such as flushing (luckily the leak
would automatically be resolved when the device instance is released).
Rémi Denis-Courmont [Wed, 24 Jul 2013 19:39:44 +0000 (22:39 +0300)]
vdpau: revector (no functional changes)
Rémi Denis-Courmont [Wed, 24 Jul 2013 19:07:27 +0000 (22:07 +0300)]
ALSA: correct debug message
Rémi Denis-Courmont [Wed, 24 Jul 2013 17:34:47 +0000 (20:34 +0300)]
avcodec. remove redundant code
Rémi Denis-Courmont [Wed, 24 Jul 2013 16:41:26 +0000 (19:41 +0300)]
XCB/XVideo: pad pictures to 32x16
This reenables direct rendering with libavcodec in most cases.
Rémi Denis-Courmont [Wed, 24 Jul 2013 16:41:08 +0000 (19:41 +0300)]
avcodec: log why picture is unsuitable for direct rendering
Mark Lee [Sat, 13 Jul 2013 18:21:38 +0000 (19:21 +0100)]
libvlc: add tests for the equalizer API
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Mark Lee [Sat, 13 Jul 2013 18:21:37 +0000 (19:21 +0100)]
libvlc: add equalizer API
Functions are provided to:
* query the available equalizer presets
* create a new default equalizer instance
* create an equalizer instance from a preset
* set individual equalizer band amplitudes
* set equalizer pre-amplification
* apply an equalizer to a media player
Equalizer settings can be applied whether media is playing or not,
and will automatically be retained when playing media subsequently.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Wed, 24 Jul 2013 16:14:50 +0000 (19:14 +0300)]
avcodec: add assertion after vlc_va_Get() + cosmetics
Rémi Denis-Courmont [Wed, 24 Jul 2013 15:41:55 +0000 (18:41 +0300)]
avcodec: factor frame initialization code
Rémi Denis-Courmont [Wed, 24 Jul 2013 15:41:31 +0000 (18:41 +0300)]
avcodec: remove debug code
Francois Cartegnie [Wed, 24 Jul 2013 14:01:03 +0000 (16:01 +0200)]
update NEWS
Francois Cartegnie [Tue, 16 Jul 2013 15:00:49 +0000 (17:00 +0200)]
access: ftp: add TLS support (fix #137)
Rafaël Carré [Wed, 24 Jul 2013 10:16:30 +0000 (12:16 +0200)]
contrib: mpcdec: use svn version (r481 currently)
Fixes: #8516
Rémi Denis-Courmont [Tue, 23 Jul 2013 20:17:46 +0000 (23:17 +0300)]
avcodec: fix sign of codec ID
In C, an enumeration is unsigned unless it contains an explicit negative
member.
Rémi Denis-Courmont [Tue, 23 Jul 2013 20:03:37 +0000 (23:03 +0300)]
avcodec: use reference counting for video decoder
Rémi Denis-Courmont [Tue, 23 Jul 2013 19:15:09 +0000 (22:15 +0300)]
hwdummy: improve assertions
Rémi Denis-Courmont [Tue, 23 Jul 2013 18:44:05 +0000 (21:44 +0300)]
avcodec: fix warning
David Fuhrmann [Tue, 23 Jul 2013 18:57:58 +0000 (20:57 +0200)]
macosx: set max volume as configuable
no new strings.
close #8628
David Fuhrmann [Tue, 23 Jul 2013 18:56:48 +0000 (20:56 +0200)]
macosx: implement snap-in for volume sliders (refs #8628)
David Fuhrmann [Tue, 23 Jul 2013 17:37:15 +0000 (19:37 +0200)]
macosx: fix visual appearance of fullscreen tic (refs #8628)
David Fuhrmann [Mon, 22 Jul 2013 19:59:40 +0000 (21:59 +0200)]
macosx: cleanup previous commit and fix position of tick, tweak appearance
refs #8628
Felix Paul Kühne [Thu, 20 Jun 2013 23:06:22 +0000 (01:06 +0200)]
macosx: implement 120% volume limit
This patch doesn't stop you from going above the limit using the hotkeys or the Apple Remote
Felix Paul Kühne [Sat, 20 Jul 2013 19:46:17 +0000 (21:46 +0200)]
contrib: export CCAS correctly
Modified-by: Rafaël Carré <funman@videolan.org>
Signed-off-by: Rafaël Carré <funman@videolan.org>
Rafaël Carré [Tue, 23 Jul 2013 08:27:15 +0000 (10:27 +0200)]
vout_ManageWrapper: reset display pool after we reset render
Fixes: #3899
Rafaël Carré [Tue, 23 Jul 2013 13:45:54 +0000 (15:45 +0200)]
ftp: do not compile access output if sout is disabled
Martin Storsjö [Tue, 23 Jul 2013 13:09:20 +0000 (16:09 +0300)]
tools: Use the latest version of gas-pp
This is required for building libav from yesterday for iOS.
Signed-off-by: Martin Storsjö <martin@martin.st>
Rafaël Carré [Tue, 23 Jul 2013 13:07:59 +0000 (15:07 +0200)]
Don't redefine UNICODE
Jean-Baptiste Kempf [Tue, 23 Jul 2013 12:49:49 +0000 (14:49 +0200)]
WinRT: release the CryptographicBufferStatics and Buffer instances
Rafaël Carré [Tue, 23 Jul 2013 11:13:13 +0000 (13:13 +0200)]
Don't use CryptGenRandom in Windows Store app
Gleb Pinigin [Fri, 19 Jul 2013 13:52:51 +0000 (20:52 +0700)]
ios: disable VNCServer contrib
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Pierre Ynard [Mon, 22 Jul 2013 22:48:11 +0000 (00:48 +0200)]
youtube.lua: fix author name
Pierre Ynard [Mon, 22 Jul 2013 20:27:23 +0000 (22:27 +0200)]
youtube.lua: update to (months-old) website changes
Rémi Denis-Courmont [Mon, 22 Jul 2013 19:04:24 +0000 (22:04 +0300)]
dbus: thread safety requires libdbus version 1.6.0
Martin Storsjö [Mon, 22 Jul 2013 19:46:30 +0000 (22:46 +0300)]
tools: Download gas-pp from libav.org instead of from github
The github repo is only a mirror while the libav.org one is the
upstream.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Mon, 22 Jul 2013 18:09:12 +0000 (21:09 +0300)]
ios: Remove the contribs directory before installing new files
If the contribs directory already existed, the source directory was
copied as a new subdirectory into that instead of replacing it
(which probably was what was intended).
This meant that the contribs directory in the install directory
wasn't ever updated in incremental builds unless explicitly
manually removed.
Signed-off-by: Martin Storsjö <martin@martin.st>
Gleb Pinigin [Mon, 22 Jul 2013 16:05:15 +0000 (23:05 +0700)]
tools: Download the defined gas-pp version instead of master
This fixes extracting of the tarball when master has progressed
from the specified hash.
Signed-off-by: Martin Storsjö <martin@martin.st>
Jean-Baptiste Kempf [Mon, 22 Jul 2013 18:33:54 +0000 (20:33 +0200)]
Demux: Correctly differenciate MLP and THD raw samples
Ref #8850
Rémi Duraffort [Mon, 22 Jul 2013 18:15:35 +0000 (20:15 +0200)]
Add missing va_end (cid #
1049747 )
Rémi Duraffort [Mon, 22 Jul 2013 17:46:16 +0000 (19:46 +0200)]
Add missing va_end (cid #
1049746 )
Rémi Duraffort [Mon, 22 Jul 2013 17:44:18 +0000 (19:44 +0200)]
Add missing va_end (cid #
1049745 )
Rémi Duraffort [Mon, 22 Jul 2013 17:41:20 +0000 (19:41 +0200)]
Add missing va_end (cid #
1049744 )
Rémi Duraffort [Mon, 22 Jul 2013 17:37:45 +0000 (19:37 +0200)]
Fix potential missing unlock (cid #
1049393 )
Rémi Duraffort [Mon, 22 Jul 2013 17:36:07 +0000 (19:36 +0200)]
Fix potential missing unlock (cid #
1049392 )
Rémi Duraffort [Mon, 22 Jul 2013 17:29:57 +0000 (19:29 +0200)]
Fix wrong test (cid #
1049311 )
Rémi Duraffort [Mon, 22 Jul 2013 17:22:06 +0000 (19:22 +0200)]
Fix wrong test (cid #
1049310 )
Rémi Denis-Courmont [Mon, 22 Jul 2013 16:41:04 +0000 (19:41 +0300)]
Remove unmaintained cmake support
Rémi Duraffort [Mon, 22 Jul 2013 15:42:52 +0000 (17:42 +0200)]
Fix sizeof mismatch (fix many cids)
Rémi Denis-Courmont [Mon, 22 Jul 2013 16:02:03 +0000 (19:02 +0300)]
vcdx: work around stupid type mismatch
Don't ask me why the original developer needed to use mismatched type
names here.
Rafaël Carré [Mon, 22 Jul 2013 15:48:18 +0000 (17:48 +0200)]
contrib: add --disable-net to disable network related code
Rafaël Carré [Mon, 22 Jul 2013 15:47:55 +0000 (17:47 +0200)]
Audio demux: use MLP codec id for .mlp files
Fixes: #8850
Rémi Duraffort [Mon, 22 Jul 2013 15:29:33 +0000 (17:29 +0200)]
Remove dead code (and infinite loop) (cid #
1049331 )
Rémi Duraffort [Mon, 22 Jul 2013 15:16:55 +0000 (17:16 +0200)]
Fix C&P error (cid #
1049313 )
Rémi Duraffort [Mon, 22 Jul 2013 15:01:40 +0000 (17:01 +0200)]
Fix memory leak (cid #
1049518 )
Rémi Duraffort [Mon, 22 Jul 2013 14:52:53 +0000 (16:52 +0200)]
Fix memory leak (cid #
1049517 )
Rafaël Carré [Mon, 22 Jul 2013 14:57:42 +0000 (16:57 +0200)]
lpcm: fix BD decoding broken by
45c7b7c8764
We now output 20 and 24 bits PCM into S32N
Don't use swab, as it is forbidden for an odd number of channels
Fixes: #8982
Edward Wang [Sat, 13 Jul 2013 19:38:49 +0000 (15:38 -0400)]
Qt: grammar fixes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
François Revol [Fri, 19 Jul 2013 20:35:38 +0000 (22:35 +0200)]
lua: assembleenationale: Fix after website changes
The streams lists were just moved out from direct.js to streams.js.
Streams still use crappy proprietary formats with ugly resolution,
can't do anything for this... If only they used a fixed playlist...
Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Rafaël Carré <funman@videolan.org>
KO Myung-Hun [Mon, 22 Jul 2013 12:43:55 +0000 (21:43 +0900)]
qt4: OS/2 does not have additional dependencies
Signed-off-by: Rafaël Carré <funman@videolan.org>
Rafaël Carré [Mon, 22 Jul 2013 13:08:33 +0000 (15:08 +0200)]
TS demux: add an option to not use stream's PCR
Ref: #8983
Ilkka Ollakka [Sun, 21 Jul 2013 19:57:12 +0000 (22:57 +0300)]
http: implement ACCESS_GET_SIZE
Francois Cartegnie [Sun, 21 Jul 2013 19:04:57 +0000 (21:04 +0200)]
avcodec: fix av_pix_fmt_desc_get() with ffmpeg
Francois Cartegnie [Sun, 21 Jul 2013 19:19:10 +0000 (21:19 +0200)]
swscale/chroma: fix build (typo)
David Fuhrmann [Sun, 21 Jul 2013 19:13:30 +0000 (21:13 +0200)]
macosx: fix moar string memleaks in audio effects code
David Fuhrmann [Sun, 21 Jul 2013 19:06:10 +0000 (21:06 +0200)]
macosx: fix a bunch of string memleaks in video effects panel code
David Fuhrmann [Sun, 21 Jul 2013 17:57:07 +0000 (19:57 +0200)]
macosx: do not enable video filters which are not set in profile (fixes #9010)
David Fuhrmann [Sun, 21 Jul 2013 15:49:16 +0000 (17:49 +0200)]
macosx: video effects: fix for applying profile settings with different filter strings (refs #9010)
Rémi Denis-Courmont [Sun, 21 Jul 2013 17:03:03 +0000 (20:03 +0300)]
snapshot: add true subsecond timestamp and pad with zeroes (fix #9012)
The previous value was quite bogus.
Rémi Denis-Courmont [Sun, 21 Jul 2013 16:37:06 +0000 (19:37 +0300)]
net_Read: rewrite, fix corner cases (fix #8972)
This new implementation opportunistically tries to read data before
invoking poll(). This reduces latency when data is already waiting in
buffers, allows receiving pending data in non-blocking fashion even if
the object has been killed. This also gives GnuTLS a chance to dequeue
data from internal buffers.
Also the corner case of 0 read should now be handled correctly.
The corner case of an error after success read is no longer handled.
This was race-prone and useless.
Rémi Denis-Courmont [Sun, 21 Jul 2013 16:14:56 +0000 (19:14 +0300)]
win32: do not clobber error status when touching thread variables
Rémi Denis-Courmont [Sun, 21 Jul 2013 16:09:02 +0000 (19:09 +0300)]
net_Gets: rewrite, deal with errors