]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Sun, 13 May 2012 16:34:45 +0000 (19:34 +0300)]
bluray: use atomic_flag instead of vlc_gc_data
(This saves one function pointer.)
Rémi Denis-Courmont [Sun, 13 May 2012 16:17:56 +0000 (19:17 +0300)]
Add missing atomic types
Francois Cartegnie [Sun, 13 May 2012 14:20:12 +0000 (16:20 +0200)]
typo
Kaarlo Raiha [Sun, 13 May 2012 13:03:40 +0000 (16:03 +0300)]
Remove ranges from volume long texts
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Mirsal Ennaime [Sat, 12 May 2012 18:54:33 +0000 (20:54 +0200)]
single instance: append tracks as specified in MPRIS 2.2
Use /org/mpris/MediaPlayer2/TrackList/Append instead of / as the
AfterTrack argument to org.mpris.MediaPlayer2.AddTrack for appending
Mirsal Ennaime [Sat, 12 May 2012 13:27:18 +0000 (15:27 +0200)]
single instance: Avoid initializing twice because of dbus activation
The single instance mode currently tries to contact another VLC instance
through dbus in order to find out if one is running. With dbus activation,
it results to the dbus daemon launching a new VLC instance while the
first one blocks until the new one answers the call
This patch uses org.freedesktop.DBus.NameHasOwner instead in order to get
an answer from the dbus daemon without it launching a second instance.
Rémi Denis-Courmont [Sat, 12 May 2012 16:38:27 +0000 (19:38 +0300)]
file: do not attempt to open(NULL, ...); (fix #6796)
Rémi Denis-Courmont [Sat, 12 May 2012 16:18:34 +0000 (19:18 +0300)]
ALSA: rewrite capture plugin
* use a thread instead of short interval polling,
* do not assume latency is shorter than a period,
* negotiate sample format instead automatically,
* map all known ALSA formats to VLC codecs,
* negotiate channels and sample rate,
* partial support for 3-6 channels (missing preferences),
* negotiate buffer and period times according to caching,
* tolerate off-by-one period size due to rounding,
* use the "default" device by default rather than "hw",
* remove old-style hardware-only suggestions in debug messages.
Francois Cartegnie [Sat, 12 May 2012 14:02:26 +0000 (16:02 +0200)]
Qt: main_interface: fix showTab(oldwidget) for undocked playlist (fix #6794)
Francois Cartegnie [Sat, 12 May 2012 12:22:20 +0000 (14:22 +0200)]
Qt: main interface: add some better debugging
Rémi Denis-Courmont [Sat, 12 May 2012 07:05:16 +0000 (10:05 +0300)]
ALSA: follow initialization order from snd_pcm_set_params()
This should fix support for or work around bugs in, some drivers:
* explicitly disable soft-resampler,
* define access mode before sample format,
* set buffer before period,
* use period time rather than period count.
Robert Forsman [Tue, 1 May 2012 22:04:14 +0000 (18:04 -0400)]
DASH: fix compatibility with com.sun.net.httpserver
modules/stream_filter/dash/http/HTTPConnection.cpp was case-sensitive
when checking Content-Length. RFC 2616 section 4.2 states "Field names
are case-insensitive"
The http server built in to the JDK 1.6 uses a field name of
"Content-length" which reveals an incompatibility of VLC's DASH module.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Vikram Narayanan [Wed, 2 May 2012 19:27:48 +0000 (00:57 +0530)]
dialogs/open.cpp: Change the shortcut for convert/save
Change the shortcut for convert/save to 'Alt+O' as 'Alt+C'
conflicts with the Cancel button.
Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Edward Wang [Sat, 12 May 2012 00:12:29 +0000 (20:12 -0400)]
src: Fix typo
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Martin Storsjö [Wed, 9 May 2012 14:33:01 +0000 (17:33 +0300)]
omxil: Use the right variable instead of a hardcoded number for NAL length field size
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Martin Storsjö [Tue, 8 May 2012 07:46:39 +0000 (10:46 +0300)]
omxil: Keep the old frame height as plane size (nSliceHeight)
If the decoder returns a new size via the crop rect, but hasn't
explicitly indicated a plane height (via the nSliceHeight parameter),
keep the frame height as plane height instead.
Also do the same check for stride vs width. The decoders that had
problems that the nSliceHeight fixes do set nStride properly, so
that part won't be needed there, but might be needed on some
platform.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Sat, 12 May 2012 00:10:58 +0000 (02:10 +0200)]
Fix Stack off-by-one overflow in vc1 packetizer
Pointed-By: Clément Lecigne
Laurent Aimar [Fri, 11 May 2012 19:50:46 +0000 (21:50 +0200)]
Added support for vprp chunk in AVI demuxer.
It is an OpenDML extension that contains the aspect ratio (it closes #6777).
Rémi Denis-Courmont [Fri, 11 May 2012 19:39:23 +0000 (22:39 +0300)]
vlc_timer_*: use atomic_*() functions
Jean-Baptiste Kempf [Fri, 11 May 2012 18:53:47 +0000 (20:53 +0200)]
ASF/WMV: parser chapters
Rémi Denis-Courmont [Fri, 11 May 2012 17:43:32 +0000 (20:43 +0300)]
Rewrite vlc_atomic_* using the new atomic operations
This way, the official atomic functions will be used when available,
rather than VLC's own implementation.
This commit also enables proper atomic operations on some platforms
or with some toolchains. __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 is not
defined on some platforms such as ARM Linux, nor by other compilers
than GCC such as LLVM/clang. Then atomic operations wrongly fell
back to the lame mutex-based implementation.
This will break support for some old compilers and old or irrelevant
instruction set architectures. They would need to provide replacement
for the Intel-originated __sync_* builtin functions.
Rémi Denis-Courmont [Fri, 11 May 2012 17:24:04 +0000 (20:24 +0300)]
Provide C11-like atomics in <vlc_atomic.h>
Since this constitutes mostly of macros and type definitions, it would
not fit too well in compat/. Most of the code would end up in
<vlc_fixups.h> rather than compat/. Moreover, I doubt that those
functions would be detected properly with AC_CHECK_FUNCS or
AC_REPLACE_FUNCS.
Anyway, VLC already has a separate header, and it will need to keep it
until <stdatomic.h> can be relied upon... many years from now.
Mark Lee [Wed, 9 May 2012 16:29:34 +0000 (17:29 +0100)]
In libvlc_media_list_player_play_item_at_index() set the media descriptor on the NextItemSet event.
This is now the same as was already implemented in the
set_relative_playlist_position_and_play() method.
KO Myung-Hun [Thu, 22 Mar 2012 04:41:47 +0000 (13:41 +0900)]
Implement filesystem.c and plugin.c for OS/2
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Felix Paul Kühne [Fri, 11 May 2012 11:05:03 +0000 (13:05 +0200)]
macosx: improve the handling of broken prefs and make sure that the user is unable to re-break them without using the command-line or a text editor
Jean-Paul Saman [Fri, 11 May 2012 07:51:26 +0000 (09:51 +0200)]
Revert "video_filter/scene.c: write pictures in a separate thread."
This reverts commit
8bc285bddde1e47a6df1ddf1ae35acf3432b6478 .
David Fuhrmann [Fri, 11 May 2012 07:16:22 +0000 (09:16 +0200)]
macosx: fix menu support in detached video window
David Fuhrmann [Fri, 11 May 2012 07:11:51 +0000 (09:11 +0200)]
macosx: avoid some focus problems when doing playlistish stuff
The original purpose for this code is fixed somewhere else today.
close #6769
Rémi Denis-Courmont [Thu, 10 May 2012 20:53:00 +0000 (23:53 +0300)]
Add SNR and signal level for access_demux
In particular, V4L is (usually) an access_demux rather than an access.
Rémi Denis-Courmont [Thu, 10 May 2012 20:34:14 +0000 (23:34 +0300)]
subsdec: add CP850 as a character encoding (fix #6732)
Rémi Denis-Courmont [Thu, 10 May 2012 20:05:48 +0000 (23:05 +0300)]
marq: avoid name conflict with Win32 API
Rémi Denis-Courmont [Thu, 10 May 2012 17:04:03 +0000 (20:04 +0300)]
marq: use vlc_fopen()
Rémi Denis-Courmont [Thu, 10 May 2012 16:49:01 +0000 (19:49 +0300)]
marq: add --marq-file to read/update the text from a file
Rémi Denis-Courmont [Thu, 10 May 2012 16:30:08 +0000 (19:30 +0300)]
marq: cleanly check if a SPU update is required
Format the text. If it is identical and all parameters are unchanged,
there is no need to update - even if the format contains a $ sign.
Rémi Denis-Courmont [Thu, 10 May 2012 15:36:10 +0000 (18:36 +0300)]
dc1394: remove implict alias
Rémi Denis-Courmont [Thu, 10 May 2012 15:33:51 +0000 (18:33 +0300)]
dc1394: remove OSS support
A slave input should be used for audio, probably ALSA or Pulse.
Rémi Denis-Courmont [Thu, 10 May 2012 15:15:00 +0000 (18:15 +0300)]
dc1394: no need to link raw1394 directly
Rémi Denis-Courmont [Thu, 10 May 2012 15:09:00 +0000 (18:09 +0300)]
dc1394: clarify what this module is about
Rémi Denis-Courmont [Thu, 10 May 2012 15:05:26 +0000 (18:05 +0300)]
dc1394: unused struct member
Rémi Denis-Courmont [Thu, 10 May 2012 15:03:35 +0000 (18:03 +0300)]
Rename access_dv to dv1394
Francois Cartegnie [Thu, 10 May 2012 14:01:17 +0000 (16:01 +0200)]
Qt: playlist dialog: remove unneeded layer
Jean-Paul Saman [Thu, 10 May 2012 12:02:50 +0000 (14:02 +0200)]
video_filter/scene.c: write pictures in a separate thread.
Improve scene video filter to write pictures in a separate thread.
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