]>
git.sesse.net Git - vlc/log
Martin Storsjö [Mon, 29 Jul 2013 18:58:24 +0000 (21:58 +0300)]
androidsurface: Support cropping
Since
b71c85b3d88b8d , the output from the avcodec video decoder
requires the vout to handle the cropping. This uses an updated
version of the jni_SetAndroidSurfaceSize function to be able to
pass the visible size separately from the full size.
Signed-off-by: Martin Storsjö <martin@martin.st>
Pierre Ynard [Mon, 5 Aug 2013 01:24:49 +0000 (03:24 +0200)]
youtube.lua: fix encoded characters in author name (web page)
Characters with accents are not encoded, but apostrophes happen
Pierre Ynard [Mon, 5 Aug 2013 01:12:14 +0000 (03:12 +0200)]
youtube.lua: fix encoded characters in author name (API)
With google accounts it's happening now
Pierre Ynard [Sun, 4 Aug 2013 23:11:35 +0000 (01:11 +0200)]
youtube.lua: update author name extraction
Rafaël Carré [Sat, 3 Aug 2013 09:17:56 +0000 (11:17 +0200)]
RTP access: fix dependency on rc.o when gcrypt is absent
Gleb Pinigin [Fri, 2 Aug 2013 12:41:55 +0000 (19:41 +0700)]
vout_ios2: take into account scale of attached screen
As said in Apple documentation drawRect should not be implemented for view based on opengl es layer.
Instead contentScaleFactor should be changed manually if needed. Underlying opengl es layer will adjust its scale accordingly.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Jean-Baptiste Kempf [Fri, 2 Aug 2013 17:16:25 +0000 (19:16 +0200)]
Relicense access outputs to LGPL
This is exception of bonjour, because of jlj
Jean-Baptiste Kempf [Fri, 2 Aug 2013 15:46:27 +0000 (17:46 +0200)]
Visualizations: relicense to LGPLv2.1
Note that the visual plugin still depends on a GPL'd fft.
Note that the new vsxu plugin is still GPL (depending on a GPL library
anyway)
Jean-Baptiste Kempf [Fri, 2 Aug 2013 15:36:28 +0000 (17:36 +0200)]
Revert "Fix scope alignment"
This reverts commit
e61ba5a72f46d5f67b361bd5f617f661f64e5fb7 .
Jean-Baptiste Kempf [Fri, 2 Aug 2013 12:37:52 +0000 (14:37 +0200)]
Cropping filter: fix description.
Close #9117
Jean-Paul Saman [Fri, 2 Aug 2013 11:55:51 +0000 (13:55 +0200)]
vdpau: link against VDPAU_LIBS
Denis Charmet [Thu, 1 Aug 2013 21:03:46 +0000 (23:03 +0200)]
Adjust the DirectSound buffer size to support correctly 6 channels
The buffer size must be a multiple of the number of channels*sample_size or looping will break the channel layout.
Close #8483
Rafaël Carré [Thu, 1 Aug 2013 15:02:52 +0000 (17:02 +0200)]
Version all plugins when building for Windows
Refs #9108
Rémi Denis-Courmont [Tue, 30 Jul 2013 15:07:14 +0000 (18:07 +0300)]
net_Recv(): improve error handling (fixes #9081)
Rémi Denis-Courmont [Tue, 30 Jul 2013 14:59:50 +0000 (17:59 +0300)]
Correct Winsock error #define's
Dominique Leuenberger [Mon, 29 Jul 2013 18:14:20 +0000 (20:14 +0200)]
build: detect variants of powerpc host_cpu (such as powerpc64)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Martin Storsjö [Mon, 29 Jul 2013 14:05:36 +0000 (17:05 +0300)]
androidsurface: Release the ANativeWindow before closing the dlopened library
This fixes ANativeWindow usage on 2.3 and 3.x. Therefore, revert
back to preferring ANativeWindow over the private symbols.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Mon, 29 Jul 2013 07:55:42 +0000 (10:55 +0300)]
androidsurface: Only use ANativeWindow if the private symbols aren't found
Even if ANativeWindow is a public API, the release call seems to
crash on a Nexus One (running 2.3) and on a Galaxy Tab (running 3.2).
The exact reason is not known or understood yet, but it might be
due to accessing and dealing with the Surface from both Java (via the
SurfaceHolder class) and via the ANativeWindow API.
Therefore, only use the ANativeWindow if the old methods aren't
found (that is, on 4.3).
The ANativeWindow output works fine on firmwares as early as 4.0
though.
Signed-off-by: Martin Storsjö <martin@martin.st>
Rafaël Carré [Mon, 29 Jul 2013 05:29:03 +0000 (07:29 +0200)]
contrib: CCAS needs -c option
Fix
ba8cad3aeec1
Felix Paul Kühne [Sun, 28 Jul 2013 22:35:13 +0000 (00:35 +0200)]
macosx: fix compilation on 10.6 with clang 3.0
Felix Paul Kühne [Sun, 28 Jul 2013 22:27:44 +0000 (00:27 +0200)]
qtcapture: fix compilation on 10.6
Felix Paul Kühne [Sun, 28 Jul 2013 22:23:06 +0000 (00:23 +0200)]
macosx: fix compatibility header for compilation on 10.6
David Fuhrmann [Sun, 28 Jul 2013 18:03:31 +0000 (20:03 +0200)]
always hide menu bar for fullscreen on osx redacted (fixes #9040)
Rémi Denis-Courmont [Sun, 28 Jul 2013 20:10:27 +0000 (23:10 +0300)]
equalizer: fix inverted parameters in test case
Rémi Denis-Courmont [Sun, 28 Jul 2013 20:02:10 +0000 (23:02 +0300)]
gettext: update to version 0.18.3
Rémi Denis-Courmont [Sun, 28 Jul 2013 19:59:13 +0000 (22:59 +0300)]
configure: remove old hack, fix bootstrapping with newer libtool
Martin Storsjö [Tue, 23 Jul 2013 13:58:36 +0000 (16:58 +0300)]
audiounit_ios: Fill the remainder of the buffer with zeros
If we didn't have enough data to fill the buffer, fill the rest
of it with zeros. This is better than playing back whatever happened
to be there from before.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Martin Storsjö [Tue, 23 Jul 2013 13:39:30 +0000 (16:39 +0300)]
Revert "audiounit_ios: try to handle data drops more efficiently"
This (more or less) reverts commit
2b7e016807507b632b8e0a7c874030bdffb2f604 .
Stopping the aout from within the callback like this could
lead to deadlocks, where AudioOutputUnitStop in the callback thread
and AudioOutputUnitStart in the audio decoder thread blocked each
other (noticed at startup of playback on a 3GS with iOS 6.0).
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Rémi Denis-Courmont [Sun, 28 Jul 2013 13:31:15 +0000 (16:31 +0300)]
aout: stick to single precision
Pierre Ynard [Sat, 27 Jul 2013 19:52:00 +0000 (21:52 +0200)]
youtube.lua: basic support for scrambled signatures
Apparently this is the new fad and comes in several length-flavors
Rémi Denis-Courmont [Sat, 27 Jul 2013 19:36:41 +0000 (22:36 +0300)]
avformat: leave SAR at 0/0 (undefined) if unknown
Wills Wang [Sat, 27 Jul 2013 19:30:03 +0000 (22:30 +0300)]
avformat: set pixel aspect ratio
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Fri, 26 Jul 2013 19:52:51 +0000 (22:52 +0300)]
doc: remove mad documentation
This is the _VLC_ source code.
Rémi Denis-Courmont [Fri, 26 Jul 2013 19:18:33 +0000 (22:18 +0300)]
avcodec: do not allocate unused output buffers
The buffer from decoder_NewAudioBuffer() was only used if the audio
output format was planar. Now it is allocated only in that case.
This also remove leaks when decoder_NewAudioBuffer() failed.
Rémi Duraffort [Fri, 26 Jul 2013 17:56:51 +0000 (19:56 +0200)]
Do not compare arrays against NULL (always true)
Fix cid #
1048854
Rémi Duraffort [Fri, 26 Jul 2013 17:29:07 +0000 (19:29 +0200)]
Fix sizeof mismatch
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>