]>
git.sesse.net Git - vlc/log
Francois Cartegnie [Sat, 21 Jul 2012 20:00:40 +0000 (22:00 +0200)]
i18n: fr: fix broken avi usability due to wrong translation
Erwan Tulou [Sat, 21 Jul 2012 18:05:56 +0000 (20:05 +0200)]
skins2: update following volume change from Integer to float
Rémi Denis-Courmont [Sat, 21 Jul 2012 15:29:29 +0000 (18:29 +0300)]
Qt4: limit the UI volume to 125% (about +6dB)
Far too many clueless users push the volume far too high[1]. Then they
complain that VLC distorts the sound... Really anything above 100% (0dB)
is prone to saturation. In my experience, loss of quality is noticeable
at +6dB and unbearable at +10dB.
For the references:
In VLC 1.1, the UI was restricted to 200% (+6dB) by default,
while the audio output core allowed up to 400% (+12dB).
PulseAudio recommends +11dB.
Microsoft Windows limits to +0dB.
[1] I actually compared VLC 1.1, VLC 2.0 and WMP with an external
decibel metter. They give the same output at 0dB. At 6dB, both VLC
versions give the same decibel readings and slight distortion. So the
complaints are purely caused by confusion and cluelessness from users.
Rémi Denis-Courmont [Sat, 21 Jul 2012 14:36:08 +0000 (17:36 +0300)]
playlist: convert "volume" to float
...and simplify accordingly.
Rémi Denis-Courmont [Sat, 21 Jul 2012 14:33:27 +0000 (17:33 +0300)]
osd: update volume reporting (untested)
Rémi Denis-Courmont [Sat, 21 Jul 2012 14:27:28 +0000 (17:27 +0300)]
Remove osd_Volume()
Rémi Denis-Courmont [Sat, 21 Jul 2012 14:25:53 +0000 (17:25 +0300)]
oldrc: do not show OSD volume on volume change
This matches the Lua RC behavior.
Rémi Denis-Courmont [Sat, 21 Jul 2012 14:14:02 +0000 (17:14 +0300)]
oldrc: do not report volume twice, always report playlist status
Rémi Denis-Courmont [Sat, 21 Jul 2012 14:05:26 +0000 (17:05 +0300)]
aout: remove duplicated setting of "volume"
Erwan Tulou [Sat, 21 Jul 2012 01:45:13 +0000 (03:45 +0200)]
skins2: fix skins2 audio volume and adapt to latest change
- use the overall volume managed by the playlist rather than
aout_volumeGet() that now only works when a aout is running.
This is no problem since the skins2 volume slider functionally
reflects this overall volume managed by the playlist anyway.
- stick to what include/vlc_aout_intf.h lets us know about volume
boundaries(as of today, AOUT_VOLUME_DEFAULT and AOUT_VOLUME_MAX)
and infer volume to be in the [0., AOUT_VOLUME_MAX/AOUT_VOLUME_DEFAULT]
range as requested by some functions taking a float as parameter.
Rémi Denis-Courmont [Sat, 21 Jul 2012 11:59:19 +0000 (14:59 +0300)]
Move timer implementation to a separate file
This is generic and reusable on non-POSIX platforms.
Rémi Denis-Courmont [Sat, 21 Jul 2012 09:54:50 +0000 (12:54 +0300)]
srtp: disable gcrypt secmem (refs #7179)
Francois Cartegnie [Fri, 20 Jul 2012 17:54:36 +0000 (19:54 +0200)]
Qt: ML/PLItem: Factorize and clean.
Francois Cartegnie [Fri, 20 Jul 2012 14:57:50 +0000 (16:57 +0200)]
Qt: PL/MLModels: implement columnCount() in parent class
Rémi Denis-Courmont [Fri, 20 Jul 2012 14:52:45 +0000 (17:52 +0300)]
skins2: remove unneeded brittle hack to avoid callback loop
A more proper fix was made in
3567c033215cc9a5bbd51590789ba59f90eeba01 .
Rémi Denis-Courmont [Fri, 20 Jul 2012 14:46:46 +0000 (17:46 +0300)]
skins2: clean volume step usage
Rémi Denis-Courmont [Fri, 20 Jul 2012 14:38:18 +0000 (17:38 +0300)]
Qt4: clean volume step computation
Rémi Denis-Courmont [Fri, 20 Jul 2012 14:42:14 +0000 (17:42 +0300)]
Qt4: remove constant parameter
Rémi Denis-Courmont [Fri, 20 Jul 2012 14:25:56 +0000 (17:25 +0300)]
Set more reasonable limits for --volume-step
Rémi Denis-Courmont [Fri, 20 Jul 2012 14:21:07 +0000 (17:21 +0300)]
aout: avoid duplicate check in replay gain
Rémi Denis-Courmont [Fri, 20 Jul 2012 14:23:55 +0000 (17:23 +0300)]
aout: fix read overflow
pb_peak and pf_peak have only two elements.
(regression from
dcf3f71b3b48090881f8deab305cc31ea1067ca3 )
David Fuhrmann [Fri, 20 Jul 2012 14:15:35 +0000 (16:15 +0200)]
macosx: improve playlist context menu handling by selecting the right menu item at mouse location
Francois Cartegnie [Fri, 20 Jul 2012 14:08:04 +0000 (16:08 +0200)]
Qt: PLViews: fix hover-ing
Francois Cartegnie [Fri, 20 Jul 2012 12:27:11 +0000 (14:27 +0200)]
Qt: PLTreeView: use delegate for emphasing font.
Also fixes a mistake in
229c807ce1cf5b5edebb7de9621a8191d78209b5
where isCurrent == isSelected
Rémi Denis-Courmont [Thu, 19 Jul 2012 20:57:50 +0000 (23:57 +0300)]
JACK: fix cut&paste error
Francois Cartegnie [Fri, 20 Jul 2012 11:57:43 +0000 (13:57 +0200)]
Qt: PLModel: Move font's contextual style to views
Erwan Tulou [Fri, 20 Jul 2012 10:21:41 +0000 (12:21 +0200)]
skins2(Linux): fix a drag&drop issue with some sources (konqueror, dolphin)
This fixes #7165 and can be backported.
Francois Cartegnie [Thu, 19 Jul 2012 21:15:35 +0000 (23:15 +0200)]
ml: don't create URL from URI when local
Rémi Denis-Courmont [Thu, 19 Jul 2012 20:22:41 +0000 (23:22 +0300)]
Remove non-sensical FREENULL()
Rémi Denis-Courmont [Thu, 19 Jul 2012 19:37:13 +0000 (22:37 +0300)]
sndio: implement volume setting and reporting
Rémi Denis-Courmont [Thu, 19 Jul 2012 19:19:03 +0000 (22:19 +0300)]
sndio: allocate sys structure
Rémi Denis-Courmont [Thu, 19 Jul 2012 19:11:40 +0000 (22:11 +0300)]
sndio: use AOUT_CHANS_* values
Rémi Denis-Courmont [Thu, 19 Jul 2012 18:21:59 +0000 (21:21 +0300)]
Do not inherit "volume" where it is ignored and overriden
Rémi Denis-Courmont [Thu, 19 Jul 2012 18:18:48 +0000 (21:18 +0300)]
aout: propagate volume and mute to input manager (fix #6760)
Several of UI & control plugins follow the volume and mute status
through the playlist instead of the aout. This patch works around
that limitation.
Rémi Denis-Courmont [Thu, 19 Jul 2012 18:18:06 +0000 (21:18 +0300)]
Qt4: use qlonglong instead of int64_t for cross-thread connections
int64_t is not supported natively by the Qt object system.
Felix Paul Kühne [Thu, 19 Jul 2012 17:49:16 +0000 (19:49 +0200)]
NEWS: merge 2.0.3 stuff
Rémi Denis-Courmont [Thu, 19 Jul 2012 17:33:26 +0000 (20:33 +0300)]
aout: convert audio output "volume" to float
Rémi Denis-Courmont [Thu, 19 Jul 2012 15:12:47 +0000 (18:12 +0300)]
aout: remove old volume back-end
Rémi Denis-Courmont [Thu, 19 Jul 2012 15:11:00 +0000 (18:11 +0300)]
audioqueue: use software amplification (untested)
Rémi Denis-Courmont [Thu, 19 Jul 2012 15:10:09 +0000 (18:10 +0300)]
kai: use software amplification (untested)
Rémi Denis-Courmont [Thu, 19 Jul 2012 15:08:39 +0000 (18:08 +0300)]
sndio: remove amplification until proper implementation
Rémi Denis-Courmont [Thu, 19 Jul 2012 15:06:44 +0000 (18:06 +0300)]
waveout: use softare amplification
Rémi Denis-Courmont [Thu, 19 Jul 2012 14:58:14 +0000 (17:58 +0300)]
JACK: use software amplification
Rémi Denis-Courmont [Thu, 19 Jul 2012 14:42:29 +0000 (17:42 +0300)]
OSS: use software amplification
Rémi Denis-Courmont [Thu, 19 Jul 2012 14:41:18 +0000 (17:41 +0300)]
ALSA: use software amplification
Rémi Denis-Courmont [Thu, 19 Jul 2012 14:40:35 +0000 (17:40 +0300)]
aout: add common helpers for software amplification
These helper handle mute (i.e. zero gain) and keep track of the volume
across sessions on a per-output basis. This is intended for the "old"
audio outputs that cannot amplify natively.
Rémi Denis-Courmont [Thu, 19 Jul 2012 14:52:08 +0000 (17:52 +0300)]
amem: use gain request
Rémi Denis-Courmont [Thu, 19 Jul 2012 14:13:35 +0000 (17:13 +0300)]
aout: add event callback to request gain change from aout module
This is more flexible than the current approach:
- Gain can be changed if the aout has a custom (native) volume control.
- The callback approach does not break the encapsulation principles
(so audio_output_t/module_need() could be used somewhere else).
Rémi Denis-Courmont [Thu, 19 Jul 2012 14:43:40 +0000 (17:43 +0300)]
dummy: fix volume callbacks
Amplifying dummy is useless. Also amplifying S/PDIF is not possible.
Rémi Denis-Courmont [Thu, 19 Jul 2012 14:36:05 +0000 (17:36 +0300)]
Fix typo
Francois Cartegnie [Thu, 19 Jul 2012 16:01:27 +0000 (18:01 +0200)]
Qt: Pictureflow: kill some warnings
Francois Cartegnie [Thu, 19 Jul 2012 15:49:05 +0000 (17:49 +0200)]
Qt: PLModel: move zoom value out of model
Rémi Denis-Courmont [Thu, 19 Jul 2012 13:35:19 +0000 (16:35 +0300)]
config: do not save unknown sections
Unknown sections are sections whose name does not match any module in
the module bank. Until now, any unknown section in vlcrc was copied
verbatim when the preferences are saved. In principles, that would
preserve settings for modules that are not available in the current
copy of VLC.
There is a fatal flaw with that approach: When VLC is updated, some
modules may change name. Also some configuration items may be moved
from one module to another. As a consequence, configuration items may
end up in a different section than they previously were. Then vlcrc
will end up with multiple conflicting copies of the same configuration
item: first the current value for the preferences in the new
section, then the old value from the copied old section. When vlcrc is
loaded again, the old copy will override the new one since it is parsed
last. Essentially, the configuration item cannot be changed via
preferences until vlcrc is manually edited or preferences are reset.
I would rather loose settings for old plugins.
Rémi Denis-Courmont [Thu, 19 Jul 2012 13:25:31 +0000 (16:25 +0300)]
directx: improve DirectSound and DirectDraw module names
Rémi Denis-Courmont [Thu, 19 Jul 2012 13:17:13 +0000 (16:17 +0300)]
directx: simplify configure
Francois Cartegnie [Thu, 19 Jul 2012 12:40:32 +0000 (14:40 +0200)]
Qt: PLModel: fix string conversion for winxx
Francois Cartegnie [Thu, 19 Jul 2012 11:53:23 +0000 (13:53 +0200)]
ml: fix double free.
Double free was occuring on some psz_url when copying medias.
Might be caused by a double listing from the sql query.
Francois Cartegnie [Thu, 19 Jul 2012 11:34:31 +0000 (13:34 +0200)]
ml: Ensure list lock is initiliazed when watch thread starts.
Some crashes occurs on start when processing the first append loop
at the unlock level.
Francois Cartegnie [Wed, 18 Jul 2012 21:07:11 +0000 (23:07 +0200)]
Qt: PL/MLModel: remove nolonger used SelectedUri()
Francois Cartegnie [Wed, 18 Jul 2012 20:27:38 +0000 (22:27 +0200)]
Qt: PLModel: move out Info & Prompt Dialogs references from Model
Francois Cartegnie [Wed, 18 Jul 2012 19:43:21 +0000 (21:43 +0200)]
Qt: PL/ML Model: Factorize zoom functions
Francois Cartegnie [Wed, 18 Jul 2012 19:36:50 +0000 (21:36 +0200)]
Qt: MLModel: Move Popup() creation out of the MLModel
Francois Cartegnie [Wed, 18 Jul 2012 17:28:37 +0000 (19:28 +0200)]
Qt: PLModel: Move Popup() creation out of the PLModel
Francois Cartegnie [Wed, 18 Jul 2012 19:26:35 +0000 (21:26 +0200)]
Qt: MLModel: rework menu signaling
(see previous commit)
Francois Cartegnie [Sun, 15 Jul 2012 18:06:49 +0000 (20:06 +0200)]
Qt: PLModel: rework menu signaling to get rid of popup data storage in model
Francois Cartegnie [Wed, 18 Jul 2012 18:25:15 +0000 (20:25 +0200)]
Qt: MLModel: Use Model Indexes instead of MLItem.
(see prev commit)
Francois Cartegnie [Sun, 15 Jul 2012 11:48:04 +0000 (13:48 +0200)]
Qt: PLModel: Use Model Indexes instead of PLItem references for external
methods.
The model/view is broken as the internal PLItem elements are accessed
from outside the model.
We need to change calls to make use of Model Indexes, and then can move
away some methods that belongs to views.
Rémi Denis-Courmont [Wed, 18 Jul 2012 20:56:21 +0000 (23:56 +0300)]
authors: correct fox's name
Rémi Denis-Courmont [Wed, 18 Jul 2012 18:47:45 +0000 (21:47 +0300)]
aout: add --gain to control gain regardless of output module
This linear gain works also for outputs with native volume or without
volume. (Obviously though, it does not work for digital pass-through).
Frédéric Yhuel [Wed, 18 Jul 2012 14:52:35 +0000 (16:52 +0200)]
libmp4: Add function MP4_BoxGetSmooBox()
also modify MP4_BoxGetNextChunk() so that a initialization
segment which has been put between two chunks is properly handled.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Frédéric Yhuel [Wed, 18 Jul 2012 14:52:34 +0000 (16:52 +0200)]
libmp4: Parse StraBox and SmooBox
SmooBox is a very simple MP4 box, VLC specific, used only
for the Smooth Streaming module to send information to the demux.
SmooBox is actually a simplified moov box (we wanted to avoid
the hassle of building a moov box at the stream_filter level).
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Felix Paul Kühne [Wed, 18 Jul 2012 11:19:26 +0000 (13:19 +0200)]
macosx: vlc object handling improvements (refs #6883)
This should solve a few problems on termination.
Rémi Denis-Courmont [Tue, 17 Jul 2012 19:47:59 +0000 (22:47 +0300)]
aout: cleanup mixer and rename to volume
Rémi Denis-Courmont [Tue, 17 Jul 2012 15:55:51 +0000 (18:55 +0300)]
aout: prepare to add private data to the volume mixer object
Rafaël Carré [Fri, 13 Jul 2012 12:37:16 +0000 (14:37 +0200)]
contrib: theora: remove useless leftover
UPDATE_AUTOCONFIG alone does the job
Rémi Denis-Courmont [Tue, 17 Jul 2012 15:39:07 +0000 (18:39 +0300)]
aout: remove unused lock
Jean-Baptiste Kempf [Tue, 17 Jul 2012 13:56:34 +0000 (15:56 +0200)]
Add yet another FourCC
Felix Paul Kühne [Sun, 15 Jul 2012 22:42:23 +0000 (00:42 +0200)]
macosx: CAS: enforce the chosen encapsulation format's file extension for the destination selection panel
Note that the extension isn't magically switched yet when choosing a different encapsulation format after your output destination.
Felix Paul Kühne [Sun, 15 Jul 2012 22:32:32 +0000 (00:32 +0200)]
macosx: CAS: implemented MRL/option string creation
Panel is fully functional now and needs testing.
Jean-Baptiste Kempf [Sat, 14 Jul 2012 11:44:39 +0000 (13:44 +0200)]
Add more FourCC for Mp4
Felix Paul Kühne [Sun, 15 Jul 2012 19:25:22 +0000 (21:25 +0200)]
macosx: CAS: fixed redraw issue when entering the dropzone's subviews during a drag operation
Felix Paul Kühne [Sun, 15 Jul 2012 19:21:52 +0000 (21:21 +0200)]
macosx: CAS: show drag-copy-cursor when receiving items from the playlist (10.6+ only)
Felix Paul Kühne [Sun, 15 Jul 2012 18:57:55 +0000 (20:57 +0200)]
macosx: CAS: added visual feedback for drag and drop operations just because we can
Felix Paul Kühne [Sun, 15 Jul 2012 18:13:54 +0000 (20:13 +0200)]
macosx: CAS: enable drag and drop from playlist
Felix Paul Kühne [Sun, 15 Jul 2012 17:39:08 +0000 (19:39 +0200)]
macosx: fixed crash when opening DVDs with uncommon disk names (close #7146)
Felix Paul Kühne [Sun, 15 Jul 2012 11:20:28 +0000 (13:20 +0200)]
macosx: CAS: implemented information retrieval from the customization panel
Felix Paul Kühne [Sat, 14 Jul 2012 16:02:14 +0000 (18:02 +0200)]
macosx: CAS: implemented the media selector button in a preliminary way and performed some cleanup
Felix Paul Kühne [Sat, 14 Jul 2012 12:26:12 +0000 (14:26 +0200)]
macosx: CAS: simplification
Felix Paul Kühne [Sat, 14 Jul 2012 12:22:28 +0000 (14:22 +0200)]
macosx: CAS: fixed crash on quit and limit the OK button to be enabled only if both an input and an output is set
Felix Paul Kühne [Sat, 14 Jul 2012 12:13:03 +0000 (14:13 +0200)]
macosx: CAS: move pre-defined profiles to NSDefaults, so we can easily change and expand them
Felix Paul Kühne [Sat, 14 Jul 2012 12:03:33 +0000 (14:03 +0200)]
macosx: CAS: private API optimization
Felix Paul Kühne [Fri, 13 Jul 2012 14:32:46 +0000 (16:32 +0200)]
configure.ac: fixed compilation for iOS by making the OS X SDK options optional
Note that by default, we will compile for the HOST OS instead of OS X 10.6, which is the way it should be.
Rémi Denis-Courmont [Sat, 14 Jul 2012 08:37:17 +0000 (11:37 +0300)]
iso-639: remove now unused field
Rémi Denis-Courmont [Sat, 14 Jul 2012 08:13:49 +0000 (11:13 +0300)]
input: do not use native language spelling in language lists
Those lists are supposed to contain language codes, not language names.
Rémi Denis-Courmont [Sat, 14 Jul 2012 08:13:34 +0000 (11:13 +0300)]
input: small simplification
Rémi Denis-Courmont [Sat, 14 Jul 2012 08:08:04 +0000 (11:08 +0300)]
input: show elementary stream language in current user locale
...rather than in the language's own spelling or in English.
Felix Paul Kühne [Fri, 13 Jul 2012 17:21:19 +0000 (19:21 +0200)]
macosx: CAS: implemented profile loading mechanism
Rémi Denis-Courmont [Thu, 12 Jul 2012 19:48:13 +0000 (22:48 +0300)]
Mark --language as obsolete
Rémi Denis-Courmont [Thu, 12 Jul 2012 19:48:13 +0000 (22:48 +0300)]
Remove the nine years old --language hack
This was apparently put in place to work around the lack of language
setting in BeOS. Then it was extended to Windows and MacOS since
gettext failed to retrieve the user language configuration.
BeOS is no longer supported and Windows support and MacOS support were
fixed in gettext 0.18.
Also calling setlocale() from a library can crash.
Rémi Denis-Courmont [Thu, 12 Jul 2012 19:40:54 +0000 (22:40 +0300)]
Win32: do not override LC_ALL
This code might have had some effects on some other OS (BeOS?), but
it should not be required on Windows. Also good-mannered and
thread-safe libraries do not modify the environment.