]> git.sesse.net Git - vlc/log
vlc
11 years agoQt: allow a maximum volume on the sound slider
Jean-Baptiste Kempf [Fri, 7 Dec 2012 20:11:27 +0000 (21:11 +0100)]
Qt: allow a maximum volume on the sound slider

Too many users are bitching about this

Close #6105

11 years agoLibVLC: try to clarify libvlc_media_add_option() limitations
Rémi Denis-Courmont [Sun, 9 Dec 2012 10:00:04 +0000 (12:00 +0200)]
LibVLC: try to clarify libvlc_media_add_option() limitations

11 years agoRevert "input: create an aout if UI wants to configure audio"
Rémi Denis-Courmont [Sat, 8 Dec 2012 21:58:38 +0000 (23:58 +0200)]
Revert "input: create an aout if UI wants to configure audio"

Due to mismatched "resource" and "hold" locks, this introduced a race
where more than one audio output gets created.

This reverts commit 4e57bd052e25c0538a6b1d7e83b8370910ef71dd.

11 years agowaveout: use software amplification
Rémi Denis-Courmont [Sat, 8 Dec 2012 18:13:12 +0000 (20:13 +0200)]
waveout: use software amplification

This should make volume work.
Patch welcome to make hardware volume work instead where available.

11 years agoamem: call cleanup() if setup() succeeded but format is unsupported
Rémi Denis-Courmont [Sat, 8 Dec 2012 07:55:52 +0000 (09:55 +0200)]
amem: call cleanup() if setup() succeeded but format is unsupported

11 years agoamem: defer set_volume() before setup()
Rémi Denis-Courmont [Sat, 8 Dec 2012 07:48:11 +0000 (09:48 +0200)]
amem: defer set_volume() before setup()

Before setup(), opaque is not defined.

11 years agoamem: correct opaque pointer for consecutive setup() calls
Rémi Denis-Courmont [Sat, 8 Dec 2012 07:39:46 +0000 (09:39 +0200)]
amem: correct opaque pointer for consecutive setup() calls

11 years agodecklink: fix detection
Rafaël Carré [Sat, 8 Dec 2012 02:24:49 +0000 (03:24 +0100)]
decklink: fix detection

11 years agodbus_screensaver: update LIST
Rémi Denis-Courmont [Fri, 7 Dec 2012 21:48:03 +0000 (23:48 +0200)]
dbus_screensaver: update LIST

11 years agoxscreensaver: remove unused plugin
Rémi Denis-Courmont [Fri, 7 Dec 2012 21:47:20 +0000 (23:47 +0200)]
xscreensaver: remove unused plugin

xdg-screensaver has higher priority, so xscreensaver was never used.

11 years agodbus_screensaver: correct service name for o.fd.PowerManagement.Inhibit
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:25:47 +0000 (22:25 +0200)]
dbus_screensaver: correct service name for o.fd.PowerManagement.Inhibit

11 years agodbus_screensaver: add o.fd.ScreenSaver support (fixes #7824)
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:23:27 +0000 (22:23 +0200)]
dbus_screensaver: add o.fd.ScreenSaver support (fixes #7824)

11 years agodbus_screensaver: remove bogus error
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:22:26 +0000 (22:22 +0200)]
dbus_screensaver: remove bogus error

When the service is absent, the error message is NULL anyhow.

11 years agodbus_screensaver: rename from power
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:15:44 +0000 (22:15 +0200)]
dbus_screensaver: rename from power

11 years agoXCB/XVideo: fix memory leak
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:11:53 +0000 (22:11 +0200)]
XCB/XVideo: fix memory leak

11 years agopower: use non-blocking DBusPendingCall instead of short timeout
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:11:27 +0000 (22:11 +0200)]
power: use non-blocking DBusPendingCall instead of short timeout

11 years agopower: probe D-Bus services and return error if none are found
Rémi Denis-Courmont [Fri, 7 Dec 2012 18:42:18 +0000 (20:42 +0200)]
power: probe D-Bus services and return error if none are found

11 years agopower: really localize reason
Rémi Denis-Courmont [Fri, 7 Dec 2012 18:26:16 +0000 (20:26 +0200)]
power: really localize reason

11 years agopower: cosmetic revector
Rémi Denis-Courmont [Fri, 7 Dec 2012 18:25:56 +0000 (20:25 +0200)]
power: cosmetic revector

11 years agodecklink: update build rules
Rafaël Carré [Fri, 7 Dec 2012 16:02:13 +0000 (17:02 +0100)]
decklink: update build rules

Move logic to Modules.am
Use CXXFLAGS

11 years agommdevice: initialize mute & volume (fixes #7203)
Rémi Denis-Courmont [Fri, 7 Dec 2012 16:24:41 +0000 (18:24 +0200)]
mmdevice: initialize mute & volume (fixes #7203)

11 years agommdevice: keep ISimpleAudioVolume interface
Rémi Denis-Courmont [Fri, 7 Dec 2012 16:17:24 +0000 (18:17 +0200)]
mmdevice: keep ISimpleAudioVolume interface

11 years agoQt: better unsetting of keys in preferences
Jean-Baptiste Kempf [Thu, 6 Dec 2012 23:01:35 +0000 (00:01 +0100)]
Qt: better unsetting of keys in preferences

Close #6640

11 years agoQt: increase the size for the license and network dialog
Jean-Baptiste Kempf [Thu, 6 Dec 2012 22:44:59 +0000 (23:44 +0100)]
Qt: increase the size for the license and network dialog

Close #6556

11 years agoPulseAudio: force minreq to less than half tlength (refs #7827)
Rémi Denis-Courmont [Thu, 6 Dec 2012 21:31:54 +0000 (23:31 +0200)]
PulseAudio: force minreq to less than half tlength (refs #7827)

This should work-around distorsion due to excessively short latency
computation in PulseAudio, e.g. NVIDIA HDMI Audio.

In the longer term, VLC should probably set minreq to 40ms and tlength
to a larger value or even -1. But that would require more testing.

11 years agoQt: fix toolbar customization when doing back and forth
Jean-Baptiste Kempf [Thu, 6 Dec 2012 17:32:42 +0000 (18:32 +0100)]
Qt: fix toolbar customization when doing back and forth

Close #7543

11 years agoOgg: parse and create Vorbis Comment Chapter Extension seekpoints
Jean-Baptiste Kempf [Thu, 6 Dec 2012 11:22:05 +0000 (12:22 +0100)]
Ogg: parse and create Vorbis Comment Chapter Extension seekpoints

This does not actually seek to the right position yet
Ref #6895

11 years agowasapi: remove direct dependency on desktop-only IMMDevice
Rémi Denis-Courmont [Thu, 6 Dec 2012 11:08:52 +0000 (13:08 +0200)]
wasapi: remove direct dependency on desktop-only IMMDevice

11 years agommdevice: improve handling of session disconnect event
Rémi Denis-Courmont [Thu, 6 Dec 2012 10:46:42 +0000 (12:46 +0200)]
mmdevice: improve handling of session disconnect event

It could still be better. If the disconnection is unrecoverable,
I suspect a flood of identical errors will be emitted continuously
as the core keeps pushing audio buffers.

11 years agoAllow the demux to update its title list
Denis Charmet [Wed, 5 Dec 2012 22:07:18 +0000 (23:07 +0100)]
Allow the demux to update its title list

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agommdevice: deal with invalidated device in Start()
Rémi Denis-Courmont [Thu, 6 Dec 2012 09:16:14 +0000 (11:16 +0200)]
mmdevice: deal with invalidated device in Start()

11 years agowasapi: remove redundant code
Rémi Denis-Courmont [Thu, 6 Dec 2012 08:56:36 +0000 (10:56 +0200)]
wasapi: remove redundant code

The MTA is fully taken care of by mmdevice.c.

11 years agommdevice: simplify thread synchronization
Rémi Denis-Courmont [Thu, 6 Dec 2012 08:49:54 +0000 (10:49 +0200)]
mmdevice: simplify thread synchronization

11 years agowasapi: cosmetic, rename api to stream
Rémi Denis-Courmont [Thu, 6 Dec 2012 08:37:44 +0000 (10:37 +0200)]
wasapi: cosmetic, rename api to stream

11 years agomacosx: fix crash when re-ordering playlist items
Felix Paul Kühne [Thu, 6 Dec 2012 06:05:57 +0000 (17:05 +1100)]
macosx: fix crash when re-ordering playlist items

11 years agomacosx: added missing outlet connection to 'Remove Podcast' btn
Felix Paul Kühne [Thu, 6 Dec 2012 05:42:45 +0000 (16:42 +1100)]
macosx: added missing outlet connection to 'Remove Podcast' btn

11 years agomacosx: fixed race condition crash when closing the vout
Felix Paul Kühne [Wed, 5 Dec 2012 23:26:30 +0000 (10:26 +1100)]
macosx: fixed race condition crash when closing the vout

vout_display_opengl_Delete will call OpenglLock, so it is a bad idea to previously release sys->glView

11 years agoFix support of .00x splitted files on Win32
Jean-Baptiste Kempf [Wed, 5 Dec 2012 22:35:05 +0000 (23:35 +0100)]
Fix support of .00x splitted files on Win32

Close #7292

11 years agoinput: export get_path from access.c
Jean-Baptiste Kempf [Wed, 5 Dec 2012 22:14:55 +0000 (23:14 +0100)]
input: export get_path from access.c

11 years agommdevice: emulate drain
Rémi Denis-Courmont [Wed, 5 Dec 2012 21:46:09 +0000 (23:46 +0200)]
mmdevice: emulate drain

11 years agommdevice: attempt to fix COM (again) and reentrancy
Rémi Denis-Courmont [Wed, 5 Dec 2012 21:22:54 +0000 (23:22 +0200)]
mmdevice: attempt to fix COM (again) and reentrancy

MSDN mostly fails to explain COM requirements and totally fails to
explain thread-safety requirements. This patch takes the most
pessimistic approach.

11 years agoMP4: enable debug with debug builds
Jean-Baptiste Kempf [Wed, 5 Dec 2012 12:53:10 +0000 (13:53 +0100)]
MP4: enable debug with debug builds

11 years agoWin32: better uploading messages for crashes
Jean-Baptiste Kempf [Tue, 4 Dec 2012 23:49:46 +0000 (00:49 +0100)]
Win32: better uploading messages for crashes

11 years agoaudiotrack: enable volume support
Edward Wang [Fri, 23 Nov 2012 04:37:55 +0000 (23:37 -0500)]
audiotrack: enable volume support

Signed-off-by: Rafaël Carré <funman@videolan.org>
11 years agoRationalize error code values
Rémi Denis-Courmont [Tue, 4 Dec 2012 21:17:48 +0000 (23:17 +0200)]
Rationalize error code values

VLC_GENERIC was particularly bad for RISC processors.

11 years agommdevice: simplify session management and prepare to change device
Rémi Denis-Courmont [Tue, 4 Dec 2012 20:54:09 +0000 (22:54 +0200)]
mmdevice: simplify session management and prepare to change device

Actual support for changing device requires (yet another) addition to
the audio_output_t callbacks set, I think.

11 years agommdevice: simplify volume & mute handling
Rémi Denis-Courmont [Tue, 4 Dec 2012 20:09:52 +0000 (22:09 +0200)]
mmdevice: simplify volume & mute handling

Apparently, there is no need for COM to do that.

11 years agowasapi: fixes and simplifications
Rémi Denis-Courmont [Tue, 4 Dec 2012 20:04:22 +0000 (22:04 +0200)]
wasapi: fixes and simplifications

11 years agoShout: remove tabs in sourcecode
Jean-Baptiste Kempf [Tue, 4 Dec 2012 18:08:47 +0000 (19:08 +0100)]
Shout: remove tabs in sourcecode

11 years agoendian: fix typo
Rémi Denis-Courmont [Tue, 4 Dec 2012 16:41:05 +0000 (18:41 +0200)]
endian: fix typo

11 years agoContribs: update sha512 for regex
Jean-Baptiste Kempf [Tue, 4 Dec 2012 15:38:46 +0000 (16:38 +0100)]
Contribs: update sha512 for regex

11 years agoRevert "Correctly detect alac in mp4 properties"
Jean-Baptiste Kempf [Tue, 4 Dec 2012 15:16:22 +0000 (16:16 +0100)]
Revert "Correctly detect alac in mp4 properties"

This reverts commit 7f807d9bb7cb08f1401d5cbec472338ed1d38157.

11 years agoskins2: adapt to latest change in playlist (activity variable)
Erwan Tulou [Tue, 4 Dec 2012 14:59:41 +0000 (15:59 +0100)]
skins2: adapt to latest change in playlist (activity variable)

It fixes skins2 crashing when an input is started.

11 years agoAdd MKS extensions for subtitles
Jean-Baptiste Kempf [Tue, 4 Dec 2012 13:50:53 +0000 (14:50 +0100)]
Add MKS extensions for subtitles

Ref #7842

11 years agocontrib: force HAVE_NEON only on ARMv7
Edward Wang [Wed, 21 Nov 2012 23:11:25 +0000 (23:11 +0000)]
contrib: force HAVE_NEON only on ARMv7

Since NO_NEON is not used anymore, leaving it undefined on ARMv6 will result in HAVE_NEON showing up, resulting in crashes.

ARMv7 Android builds are now built to tegra2 with a special dynamic NEON loader for libav.

Signed-off-by: Konstantin Pavlov <thresh@videolan.org>
11 years agoContribs: mad: fix build on android mips.
Konstantin Pavlov [Sun, 2 Dec 2012 10:02:04 +0000 (14:02 +0400)]
Contribs: mad: fix build on android mips.

Patch taken from Gentoo portage.
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libmad/files/libmad-0.15.1b-gcc44-mips-h-constraint-removal.patch?revision=1.1

11 years agoContribs: fix postproc build on mips.
Konstantin Pavlov [Tue, 4 Dec 2012 13:04:36 +0000 (17:04 +0400)]
Contribs: fix postproc build on mips.

11 years agocontrib: Allow libav build on MIPS
Edward Wang [Sun, 2 Dec 2012 13:39:29 +0000 (13:39 +0000)]
contrib: Allow libav build on MIPS

Signed-off-by: Konstantin Pavlov <thresh@videolan.org>
11 years agoMP4: check more i_timescale values to avoid Division by Zero
Jean-Baptiste Kempf [Tue, 4 Dec 2012 11:26:21 +0000 (12:26 +0100)]
MP4: check more i_timescale values to avoid Division by Zero

Ref #7838

11 years agommdevice: fix thread initialization and cleanup
Rémi Denis-Courmont [Mon, 3 Dec 2012 17:54:19 +0000 (19:54 +0200)]
mmdevice: fix thread initialization and cleanup

11 years agoRewrite inhibit.c as an "inhibit" interface
Rafaël Carré [Fri, 30 Nov 2012 18:20:39 +0000 (19:20 +0100)]
Rewrite inhibit.c as an "inhibit" interface

Remove libvlc hack, and fixes missing input state changes

11 years agowasapi: split MMDevice and session code from output
Rémi Denis-Courmont [Sun, 2 Dec 2012 20:57:07 +0000 (22:57 +0200)]
wasapi: split MMDevice and session code from output

- Run the volume/mute handling on the COM thread,
  removes remaining volume hacks.
- Spawn session manager from device rather than client (fixes #7809)
- Insulate session management from output API (refs #7394)

11 years agoAdd V264 FourCC
Jean-Baptiste Kempf [Sun, 2 Dec 2012 10:04:07 +0000 (11:04 +0100)]
Add V264 FourCC

11 years agoRemove unused VLC_EEXIT* error codes
Rémi Denis-Courmont [Sun, 2 Dec 2012 08:20:40 +0000 (10:20 +0200)]
Remove unused VLC_EEXIT* error codes

11 years agolibvlc: call exit() if command line help was requested
Rémi Denis-Courmont [Sun, 2 Dec 2012 08:17:51 +0000 (10:17 +0200)]
libvlc: call exit() if command line help was requested

A library should not call exit(), but I do not see any easy way around
it: if libvlc_new() returns NULL on error so real errors cannot be
distinguished from --help stuff. Also --daemon already calls exit()
(through daemon()).

This introduces an O(1) memory leak when calling --help. It could be
fixed by merging libvlc_InternalCreate() and libvlc_InternalInit().

11 years agolibvlc: return a real error if daemonizing failed
Rémi Denis-Courmont [Sun, 2 Dec 2012 08:15:10 +0000 (10:15 +0200)]
libvlc: return a real error if daemonizing failed

(If daemonizing succeeded, daemon() will call exit(0) internally.)

11 years agolibvlc: better error code if no modules are found
Rémi Denis-Courmont [Sun, 2 Dec 2012 08:14:38 +0000 (10:14 +0200)]
libvlc: better error code if no modules are found

11 years agoDirectSound: fix bytes per frame count (fixes #7835)
Rémi Denis-Courmont [Sun, 2 Dec 2012 07:57:39 +0000 (09:57 +0200)]
DirectSound: fix bytes per frame count (fixes #7835)

11 years agovlc: return non-zero exit code if starting failed
Rémi Denis-Courmont [Fri, 30 Nov 2012 18:29:43 +0000 (20:29 +0200)]
vlc: return non-zero exit code if starting failed

11 years agoinhibit: add separate flags for audio and video
Rémi Denis-Courmont [Fri, 30 Nov 2012 17:13:24 +0000 (19:13 +0200)]
inhibit: add separate flags for audio and video

11 years agoinhibit: remove the window ID
Rémi Denis-Courmont [Fri, 30 Nov 2012 17:05:23 +0000 (19:05 +0200)]
inhibit: remove the window ID

This seemed like a good idea to support xdg-screensaver. But it really
goes in the way.

11 years agoxdg: use timer based reset instead of window ID
Rémi Denis-Courmont [Fri, 30 Nov 2012 17:02:33 +0000 (19:02 +0200)]
xdg: use timer based reset instead of window ID

This is required to remove the dependency on the window provider.

11 years agoRevert "swscale: pass/calculate sar-info, should fix #7437"
Rémi Denis-Courmont [Thu, 29 Nov 2012 22:04:33 +0000 (00:04 +0200)]
Revert "swscale: pass/calculate sar-info, should fix #7437"

This reverts commit 0330378c55b8b940f6de82adb59cc32c5b3da12a.
This reverts commit 0f233f4980d0440b8357de629fee7fa0741c27b3.

Init() already initializes the aspect ratio, and does it correctly
(unlike these two commits) with video_format_ScaleCropAr().

11 years agowasapi: fix channel order mask
Rémi Denis-Courmont [Thu, 29 Nov 2012 21:20:43 +0000 (23:20 +0200)]
wasapi: fix channel order mask

11 years agoalsa: keep only useful values, not whole audio format
Rémi Denis-Courmont [Thu, 29 Nov 2012 21:07:40 +0000 (23:07 +0200)]
alsa: keep only useful values, not whole audio format

11 years agoinput: create an aout if UI wants to configure audio (fixes #7810)
Rémi Denis-Courmont [Thu, 29 Nov 2012 20:30:41 +0000 (22:30 +0200)]
input: create an aout if UI wants to configure audio (fixes #7810)

11 years agodump: output to access output rather than file (fixes #1873)
Rémi Denis-Courmont [Thu, 29 Nov 2012 15:42:36 +0000 (17:42 +0200)]
dump: output to access output rather than file (fixes #1873)

The default output plugin is file for obvious backward compatibility
reasons. Note that using anything but the file output really only makes
sense for MPEG-TS streams.

11 years agofile out: print I/O error to log and fix error handling
Rémi Denis-Courmont [Thu, 29 Nov 2012 15:37:37 +0000 (17:37 +0200)]
file out: print I/O error to log and fix error handling

11 years agodump: clean up and simplify
Rémi Denis-Courmont [Tue, 27 Nov 2012 21:56:34 +0000 (23:56 +0200)]
dump: clean up and simplify

11 years agoAVIO output: fix sout syntax
Rafaël Carré [Thu, 29 Nov 2012 11:33:26 +0000 (12:33 +0100)]
AVIO output: fix sout syntax

Remove duplicate option

11 years agoRemove pf_run
Rémi Denis-Courmont [Tue, 27 Nov 2012 18:21:37 +0000 (20:21 +0200)]
Remove pf_run

11 years agoaudioscrobbler: do not use pf_run
Rémi Denis-Courmont [Tue, 27 Nov 2012 18:18:34 +0000 (20:18 +0200)]
audioscrobbler: do not use pf_run

11 years agoncurses: do not use pf_run
Rémi Denis-Courmont [Tue, 27 Nov 2012 18:12:54 +0000 (20:12 +0200)]
ncurses: do not use pf_run

11 years agodbus: do not use pf_run
Rémi Denis-Courmont [Tue, 27 Nov 2012 18:06:49 +0000 (20:06 +0200)]
dbus: do not use pf_run

11 years agomotion: do not use pf_run
Rémi Denis-Courmont [Tue, 27 Nov 2012 18:02:30 +0000 (20:02 +0200)]
motion: do not use pf_run

11 years agontservice: do not use pf_run
Rémi Denis-Courmont [Tue, 27 Nov 2012 17:56:36 +0000 (19:56 +0200)]
ntservice: do not use pf_run

11 years agoLIRC: keep same pollfd
Rémi Denis-Courmont [Tue, 27 Nov 2012 17:50:01 +0000 (19:50 +0200)]
LIRC: keep same pollfd

There is no need to reinitialize the structure.

11 years agoLIRC: do not use pf_run
Rémi Denis-Courmont [Tue, 27 Nov 2012 17:49:31 +0000 (19:49 +0200)]
LIRC: do not use pf_run

11 years agoOld RC: do not use pf_run
Rémi Denis-Courmont [Tue, 27 Nov 2012 17:43:14 +0000 (19:43 +0200)]
Old RC: do not use pf_run

11 years agoaout: cosmetic fix
Rémi Denis-Courmont [Tue, 27 Nov 2012 17:29:45 +0000 (19:29 +0200)]
aout: cosmetic fix

11 years agoDirectX: use parent object instead of -incorrectly- pl_Get()
Rémi Denis-Courmont [Tue, 27 Nov 2012 17:27:16 +0000 (19:27 +0200)]
DirectX: use parent object instead of -incorrectly- pl_Get()

11 years agoDBus: remove from list of "control" interfaces
Rémi Denis-Courmont [Mon, 26 Nov 2012 22:19:15 +0000 (00:19 +0200)]
DBus: remove from list of "control" interfaces

The D-Bus interface is always started automatically. It should NOT be
added to --control.

11 years agoplaylist: move SD loading/unloading to playlist code...
Rémi Denis-Courmont [Mon, 26 Nov 2012 22:01:11 +0000 (00:01 +0200)]
playlist: move SD loading/unloading to playlist code...

...instead of libvlc.c. Note that this only concerns the playlist SD.
The LibVLC SD were always dealt with separately.

11 years agoplaylist: create the playlist when needed (refs #5460)
Rémi Denis-Courmont [Mon, 26 Nov 2012 21:53:36 +0000 (23:53 +0200)]
playlist: create the playlist when needed (refs #5460)

11 years agovout: remove wrong use of pl_Get()
Rémi Denis-Courmont [Mon, 26 Nov 2012 17:00:35 +0000 (19:00 +0200)]
vout: remove wrong use of pl_Get()

11 years agoplaylist: move pl_Get()
Rémi Denis-Courmont [Mon, 26 Nov 2012 16:16:18 +0000 (18:16 +0200)]
playlist: move pl_Get()

11 years agolibvlc: do not disable the playlist earlier automatically
Rémi Denis-Courmont [Mon, 26 Nov 2012 21:20:59 +0000 (23:20 +0200)]
libvlc: do not disable the playlist earlier automatically

11 years agoskins2: deactivate the playlist before exit
Rémi Denis-Courmont [Mon, 26 Nov 2012 21:20:42 +0000 (23:20 +0200)]
skins2: deactivate the playlist before exit

11 years agoQt4: deactivate the playlist before exit
Rémi Denis-Courmont [Mon, 26 Nov 2012 21:20:28 +0000 (23:20 +0200)]
Qt4: deactivate the playlist before exit

11 years agoExport playlist_Deactivate() and simplify it
Rémi Denis-Courmont [Mon, 26 Nov 2012 21:11:05 +0000 (23:11 +0200)]
Export playlist_Deactivate() and simplify it

Those interfaces that need playlist deactivation can now call it
explicitly.