]>
git.sesse.net Git - vlc/log
Felix Paul Kühne [Wed, 9 May 2012 23:54:56 +0000 (01:54 +0200)]
macosx: trust the user that s/he knows what s/he's doing when opening a VIDEO_TS folder (close #6108)
in other words, accept folders which aren't named 'VIDEO_TS'
Rémi Denis-Courmont [Wed, 9 May 2012 20:16:52 +0000 (23:16 +0300)]
gestures: follow playlist, input, vout events and remove pollign thread
It probably wouldn't hurt to provide helpers for mouse events.
Rémi Denis-Courmont [Wed, 9 May 2012 19:37:04 +0000 (22:37 +0300)]
gestures: process gestures directly from event and clean up
This is similar to hotkeys. There is no need for a hand-over thread.
Felix Paul Kühne [Wed, 9 May 2012 18:39:23 +0000 (20:39 +0200)]
macosx: remove another hack, since it isn't needed
Felix Paul Kühne [Wed, 9 May 2012 18:11:22 +0000 (20:11 +0200)]
macosx: replaced dated threading hacks with the latest season stuff
Thanks to Rémi for the help
Rémi Denis-Courmont [Wed, 9 May 2012 17:11:38 +0000 (20:11 +0300)]
Privatize vlc_object_kill()
Rémi Denis-Courmont [Wed, 9 May 2012 17:09:51 +0000 (20:09 +0300)]
update: syntax error
Felix Paul Kühne [Wed, 9 May 2012 17:11:39 +0000 (19:11 +0200)]
src/interface: compilation fix
Rémi Denis-Courmont [Wed, 9 May 2012 16:49:41 +0000 (19:49 +0300)]
Remove non-sensical condition
If a thread can be cancelled, it can be joined.
Regression introduced in
55c6f68897a18e906edebc596c84c2ad43f78f3f .
Rémi Denis-Courmont [Wed, 9 May 2012 16:49:22 +0000 (19:49 +0300)]
Stray declaration
Rémi Denis-Courmont [Wed, 9 May 2012 16:21:19 +0000 (19:21 +0300)]
xosd: do not use pf_run
Rémi Denis-Courmont [Wed, 9 May 2012 15:58:01 +0000 (18:58 +0300)]
Add test case for the VLC binary
Rémi Denis-Courmont [Wed, 9 May 2012 15:44:58 +0000 (18:44 +0300)]
playlist: use proper boolean instead of vlc_object_(kill|alive)
Rémi Denis-Courmont [Wed, 9 May 2012 15:36:24 +0000 (18:36 +0300)]
VLM: remove dummy vlc_object_kill()
There is no matching vlc_object_alive() or vlc_object_waitpipe().
Rémi Denis-Courmont [Wed, 9 May 2012 15:34:45 +0000 (18:34 +0300)]
update: use vlc_atomic_* instead of vlc_object_(kill|alive)
Rémi Denis-Courmont [Wed, 9 May 2012 15:23:41 +0000 (18:23 +0300)]
update: fix memory error handling
Rémi Denis-Courmont [Wed, 9 May 2012 15:16:58 +0000 (18:16 +0300)]
httpd: use thread cancellation instead of wakeup pipe
Rémi Denis-Courmont [Wed, 9 May 2012 15:00:06 +0000 (18:00 +0300)]
oldrc: avoid vlc_object_kill()
Rémi Denis-Courmont [Wed, 9 May 2012 14:58:20 +0000 (17:58 +0300)]
remoteosd: no need for vlc_object_kill()
vlc_cancel() terminates the thread. There is a massive leak though.
Rémi Denis-Courmont [Wed, 9 May 2012 14:56:52 +0000 (17:56 +0300)]
avi: do not use vlc_object_kill()
Rémi Denis-Courmont [Wed, 9 May 2012 14:52:38 +0000 (17:52 +0300)]
Revert "macosx: run on first thread directly, like already done by Qt4"
This reverts commit
a11c642f29bf4f163551d2aece30ff01b329321c .
Rémi Denis-Courmont [Wed, 9 May 2012 14:52:25 +0000 (17:52 +0300)]
Revert "Remove b_should_run_on_first_thread"
This reverts commit
4dc0b22b3371235fc1295a52d26562c979e87c5a .
David Fuhrmann [Tue, 8 May 2012 18:38:47 +0000 (20:38 +0200)]
macosx: remove unneeded headers from videoview.m
Rémi Denis-Courmont [Tue, 8 May 2012 19:32:16 +0000 (22:32 +0300)]
a52: remove redumdant data
The channels count can trivially be computed with popcount().
Rémi Denis-Courmont [Tue, 8 May 2012 18:59:46 +0000 (21:59 +0300)]
libvlc_log_*: document version requirement
Francois Cartegnie [Tue, 8 May 2012 13:09:37 +0000 (15:09 +0200)]
lua: icecast: can fix radionomy's station names
Francois Cartegnie [Tue, 8 May 2012 10:43:45 +0000 (12:43 +0200)]
lua: icecast: fix icecast meta import
Francois Cartegnie [Tue, 8 May 2012 10:29:26 +0000 (12:29 +0200)]
lua: icecast: show url as alternative for unknown stations
Rémi Denis-Courmont [Mon, 7 May 2012 16:57:49 +0000 (19:57 +0300)]
Remove b_should_run_on_first_thread
Rémi Denis-Courmont [Mon, 7 May 2012 16:57:10 +0000 (19:57 +0300)]
macosx: run on first thread directly, like already done by Qt4
Rémi Denis-Courmont [Mon, 7 May 2012 16:48:57 +0000 (19:48 +0300)]
Remove now useless vlc_exit_t.killed
Rémi Denis-Courmont [Mon, 7 May 2012 16:36:20 +0000 (19:36 +0300)]
Deprecate libvlc_wait() and improve documentation
Rémi Denis-Courmont [Mon, 7 May 2012 16:29:55 +0000 (19:29 +0300)]
Call libvlc_set_exit_handler() first
It should be called before exit can happen.
This restores reverted commit
4d636fa3a74924691b0bb1e26e600f7657e0af5c .
Rémi Denis-Courmont [Mon, 7 May 2012 16:24:05 +0000 (19:24 +0300)]
Remove libvlc_InternalWait() and simplify
Rémi Denis-Courmont [Mon, 7 May 2012 16:26:55 +0000 (19:26 +0300)]
Remove useless MonitorLibVLCDeath() contorsion
Rémi Denis-Courmont [Sun, 6 May 2012 12:17:30 +0000 (15:17 +0300)]
file aout: do not apply volume (refs #6262)
In my opinion, amplifying the audio that gets recorded to a file may do
more harm than good. Indeed, there is no direct feedback to detect and
correct saturation or distortion.
David Fuhrmann [Mon, 7 May 2012 15:09:06 +0000 (17:09 +0200)]
macosx: only show fullscreen when mouse moves inside window
Rémi Denis-Courmont [Sun, 6 May 2012 13:27:51 +0000 (16:27 +0300)]
aout: add option to initialize hardware volume
Felix Paul Kühne [Sun, 6 May 2012 12:52:42 +0000 (14:52 +0200)]
ios/build.sh: don't compile SDL_image
Rémi Denis-Courmont [Sun, 6 May 2012 12:38:12 +0000 (15:38 +0300)]
waveout: fix volume initialization
Rémi Denis-Courmont [Sun, 6 May 2012 12:09:51 +0000 (15:09 +0300)]
PulseAudio: correct volume reporting from PA to VLC (fix #6759)
The proper reciprocal formula to that of VLC to PA conversion must be
used. Otherwise, we get an inconsistent value in the "volume" variable.
Felix Paul Kühne [Sun, 6 May 2012 12:07:10 +0000 (14:07 +0200)]
vout_ios: fixed getProcAddress
David Fuhrmann [Sun, 6 May 2012 09:13:24 +0000 (11:13 +0200)]
macosx vout: public getter for vd should not be needed anymore
David Fuhrmann [Sun, 6 May 2012 09:04:49 +0000 (11:04 +0200)]
macosx vout: syncronize access to sys->place
David Fuhrmann [Sun, 6 May 2012 08:50:34 +0000 (10:50 +0200)]
macosx: remove unneeded p_vouts in videoview
David Fuhrmann [Sun, 6 May 2012 08:49:22 +0000 (10:49 +0200)]
macosx: avoid index out of bound exceptions in some cases
Rémi Denis-Courmont [Sat, 5 May 2012 20:27:05 +0000 (23:27 +0300)]
EGL: update and unify the platforms list
David Fuhrmann [Sat, 5 May 2012 20:10:53 +0000 (22:10 +0200)]
macosx vout: avoid place_picture call for every mouse move event
David Fuhrmann [Sat, 5 May 2012 19:54:59 +0000 (21:54 +0200)]
macosx: move mouse vout event code to vout module
Now it should be usable within own libvlc applications
Rémi Denis-Courmont [Sat, 5 May 2012 17:21:42 +0000 (20:21 +0300)]
mp4: use strndup() where applicable
As a side note, this fixes a valgrind heap read overflow, but I do not
see why. I suspect a conflict between valgrind and some optimization in
libc or gcc here.
Casian Andrei [Sat, 5 May 2012 16:42:54 +0000 (19:42 +0300)]
block: Fix buffer total size in block_Alloc()
The total size of the buffer (i_size) was initialized with the whole
allocated size for the block. This fooled block_Realloc() in the case of
resizing to slightly larger, with the extra size in range from
32 to 32 + 80 bytes. block_Realloc() assumed it had enough space left in
the buffer padding to avoid reallocating memory.
Consequently, the block ended up with a i_buffer field with a value
larger than the allocated memory around p_buffer.
In the end, this could cause memory corruptions in all sorts of cases.
In my case, vlc was crashing while encoutering a corrupted mp3 file.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
David Fuhrmann [Sat, 5 May 2012 17:02:21 +0000 (19:02 +0200)]
macosx: fix mouse position sent to vlc core for menus
Rémi Denis-Courmont [Fri, 4 May 2012 17:32:40 +0000 (20:32 +0300)]
Do not include RPM spec files in tarball
This makes no sense. RPM needs the package specification as a separate
file, where the source tarballs are indicated. Chicken-and-egg...
Besides those files are out-of-date.
Felix Paul Kühne [Fri, 4 May 2012 17:27:11 +0000 (19:27 +0200)]
Makefile.am: added more missing files to make dist (refs #6743)
left out for now: cmake, ipkg and most of win32/UAC
Rémi Denis-Courmont [Fri, 4 May 2012 17:24:57 +0000 (20:24 +0300)]
Add missing events (fix #6750)
Rémi Denis-Courmont [Fri, 4 May 2012 16:40:15 +0000 (19:40 +0300)]
JACK: fix sampling rate (regression in VLC 2.0)
The format must be initialized before aout_PacketInit().
Fix Debian #664279 and LP#987231.
Pointed-out-by: Walter Ösch
Rémi Denis-Courmont [Fri, 4 May 2012 16:13:24 +0000 (19:13 +0300)]
GnuTLS: print certificate error flags (refs #6708)
Rémi Denis-Courmont [Fri, 4 May 2012 16:13:13 +0000 (19:13 +0300)]
GnuTLS: add new certificate error messages
Rémi Denis-Courmont [Fri, 4 May 2012 16:10:01 +0000 (19:10 +0300)]
GnuTLS: do not bother checking certificate dates
Newer GnuTLS versions do it internally and in a more correct fashion.
Rémi Denis-Courmont [Fri, 4 May 2012 16:03:42 +0000 (19:03 +0300)]
configure: require GnuTLS >= 2.6.6 (over 3 years old)
Certificate date verification has changed. To get proper errors,
we need to depend on the newer versions.
Rémi Denis-Courmont [Fri, 4 May 2012 16:14:13 +0000 (19:14 +0300)]
GnuTLS: fix warnings
Felix Paul Kühne [Fri, 4 May 2012 15:56:05 +0000 (17:56 +0200)]
vout_ios: implement gl.getProcAddress
Felix Paul Kühne [Fri, 4 May 2012 15:50:24 +0000 (17:50 +0200)]
vout_macosx: implement gl.getProcAddress
Hugo Beauzée-Luyssen [Fri, 4 May 2012 13:15:40 +0000 (15:15 +0200)]
faad: Fix a crash when channel info are invalids.
Fix #5433
Hugo Beauzée-Luyssen [Wed, 2 May 2012 14:17:29 +0000 (16:17 +0200)]
faad: Remove useless assignment.
These variables are overwritten a few lines later.
Hugo Beauzée-Luyssen [Wed, 2 May 2012 13:37:31 +0000 (15:37 +0200)]
faad: Fix channel reordering loop.
David Fuhrmann [Thu, 3 May 2012 22:26:06 +0000 (00:26 +0200)]
macosx: fix another crash on exit
(for whatever reason this was only observable on snow leopard for me)
Rémi Denis-Courmont [Wed, 25 Apr 2012 15:45:37 +0000 (18:45 +0300)]
Fix one typo
Rémi Denis-Courmont [Tue, 24 Apr 2012 15:36:59 +0000 (18:36 +0300)]
Make resampler configurable with --audio-resampler
Rémi Denis-Courmont [Tue, 24 Apr 2012 15:17:13 +0000 (18:17 +0300)]
Add "audio resampler" capability to resamplers
Rémi Denis-Courmont [Mon, 23 Apr 2012 19:45:23 +0000 (22:45 +0300)]
decoder: work around race whereby pause kicks during lip-sync
DecoderWaitDate() releases the lock and thus state can change.
In particular, the aout can be destroyed, or paused or resumed.
So those checks must be done after DecoderWaitDate().
There may be a cleaner way to do this, but it will likely be more
invasive. This patch fixes #5825 and probably #6369 too.
Rémi Denis-Courmont [Mon, 23 Apr 2012 19:38:04 +0000 (22:38 +0300)]
decoder: demote incorrect warning
A discarded buffer is not necessarily in the future. It might simply be
that there is no output or that the playback rate is out of range.
Rémi Denis-Courmont [Mon, 23 Apr 2012 19:22:46 +0000 (22:22 +0300)]
decoder: keep the lock around DecoderWaitDate() and aout_DecPlay()
DecoderWaitDate() needs to return with the lock held to fix #5825.
Anyway, there was not much point in releasing the lock after
DecoderWaitUnblock() and acquire it again without sleeping.
aout_DecPlay() needs the lock, since the aout is not reentrant.
Rémi Denis-Courmont [Mon, 23 Apr 2012 18:26:21 +0000 (21:26 +0300)]
PulseAudio: add an assertion (refs #5825)
Felix Paul Kühne [Thu, 3 May 2012 16:30:42 +0000 (18:30 +0200)]
macosx: VLC.app shouldn't rely on a script included within VLCKit
Therefore, add a copy to extras to prepare the VLCKit split
Rafaël Carré [Wed, 2 May 2012 17:59:09 +0000 (13:59 -0400)]
contrib: ffmpeg: enable thumb
Depends on --enable-small and HAVE_NEON
If we use NEON, we assume at least cortex-a8 CPU which means thumb2 is supported
Jean-Paul Saman [Thu, 3 May 2012 11:16:00 +0000 (13:16 +0200)]
include/vlc_arrays.h: use unlikely()
David Fuhrmann [Thu, 3 May 2012 07:42:24 +0000 (09:42 +0200)]
macosx vout: unify code style to the most widely used one
Jean-Baptiste Kempf [Wed, 2 May 2012 23:19:43 +0000 (01:19 +0200)]
Relicense VLCKit to LGPL
Authors include:
Pierre d'Herbemont
Felix Paul Kühne
Faustino Osuna
Rafaël Carré
Sebastien Zwickert
Rune Botten
Toralf Niebuhr
Jean-Baptiste Kempf
Jean-Paul Saman
Mike Schrag
Pavlov Konstantin
Tanguy Krotoff
Andrey Utkin
Daniel Mierswa
Derk-Jan Hartman
Malte Tancred
Pere Orga
Due to his passing into the next world, Emmanuel de Roux's code was
not relicensed and has been removed.
May you remember him and have a thought for his family.
Jean-Baptiste Kempf [Wed, 2 May 2012 23:15:50 +0000 (01:15 +0200)]
VLCKit: remove (void)setValue:(id)value forMeta:(NSString *)VLCMetaInformation;
Jean-Baptiste Kempf [Wed, 2 May 2012 23:14:51 +0000 (01:14 +0200)]
VLCKit: remove - (id)initWithArray:(NSArray *)array;
John Peterson [Sun, 22 Apr 2012 04:35:02 +0000 (06:35 +0200)]
rar: + Support for up to 1001 volume old naming style archive.
John Peterson [Sun, 22 Apr 2012 04:35:02 +0000 (06:35 +0200)]
rar: + Robust to non-specification header: Missing added block size flag.
Felix Paul Kühne [Wed, 2 May 2012 16:57:48 +0000 (18:57 +0200)]
fixed typo
Jean-Paul Saman [Tue, 24 Apr 2012 08:45:10 +0000 (10:45 +0200)]
avformat/mux.c: Check malloc return value.
Jean-Paul Saman [Tue, 24 Apr 2012 08:44:44 +0000 (10:44 +0200)]
codec/rawvideo.c: use boolean initialization for b_invert.
Jean-Paul Saman [Wed, 2 May 2012 09:05:16 +0000 (11:05 +0200)]
vlc_arrays.h: check malloc return value.
Jean-Paul Saman [Wed, 2 May 2012 08:44:16 +0000 (10:44 +0200)]
skin2: call interaction_Register()
The destructor called interaction_Unregister(), thus also call interaction_Register()
Felix Paul Kühne [Wed, 2 May 2012 11:42:48 +0000 (13:42 +0200)]
fixed make dist for Mac (2)
Felix Paul Kühne [Wed, 2 May 2012 11:41:12 +0000 (13:41 +0200)]
fixed make dist for Mac (1)
Hugo Beauzée-Luyssen [Mon, 30 Apr 2012 14:10:30 +0000 (16:10 +0200)]
flac: encoder: remove unused p_sys member.
Hugo Beauzée-Luyssen [Mon, 30 Apr 2012 09:50:17 +0000 (11:50 +0200)]
ogg: Fix a heap buffer overflow.
Reported by: An anonymous contributor working with the SecuriTeam Secure
Disclosure
program (http://www.beyondsecurity.com/ssd.html)
Jean-Paul Saman [Tue, 27 Mar 2012 08:16:15 +0000 (10:16 +0200)]
transcode: replace PICTURE_RING_BUFFER with picture_fifo_t
The PICTURE_RING_BUFFER used a fixed size, which when running out of available pictures
produces visible artefacts in the encoded stream. Allocating a new picture and keeping
track of them in a fifo is much simpler (in the multiple threads encoding scenario) and
solves the ring buffer overrun.
Mirsal Ennaime [Tue, 1 May 2012 19:16:34 +0000 (21:16 +0200)]
dbus: Use the AfterTrack parameter in the tracklist's Add method
Mirsal Ennaime [Tue, 1 May 2012 08:57:41 +0000 (10:57 +0200)]
upnp: Cosmetics
Mirsal Ennaime [Tue, 1 May 2012 08:56:29 +0000 (10:56 +0200)]
upnp: Use saner error paths
* Use assertions for argument checks
* Add missing error checks
Mirsal Ennaime [Tue, 1 May 2012 02:58:11 +0000 (04:58 +0200)]
upnp: Call ixmlRelaxParser only once
Mirsal Ennaime [Tue, 1 May 2012 01:33:50 +0000 (03:33 +0200)]
upnp: Cosmetics and variable naming
Rafaël Carré [Tue, 1 May 2012 03:42:47 +0000 (23:42 -0400)]
contrib: zlib: fix OSX build
OSX libtool (in /usr/bin) is not the same thing than GNU libtool
No need to run RECONF since configure is not a GNU autoconf script
Jean-Baptiste Kempf [Mon, 30 Apr 2012 21:51:42 +0000 (23:51 +0200)]
Contribs: update upnp