]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:24:58 +0000 (20:24 +0200)]
headphone: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:24:45 +0000 (20:24 +0200)]
http output: kill config_Get (commented out anyway)
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:23:29 +0000 (20:23 +0200)]
VCDX: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:23:07 +0000 (20:23 +0200)]
V4L2: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:22:51 +0000 (20:22 +0200)]
MMSH: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:21:07 +0000 (20:21 +0200)]
VCDX: use after free
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:17:32 +0000 (20:17 +0200)]
Avoid variable shadowing
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:15:09 +0000 (20:15 +0200)]
DVD: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:13:55 +0000 (20:13 +0200)]
DVB: config_Get -> var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:12:25 +0000 (20:12 +0200)]
cdda: kill config_Get*
Thijs Alkemade [Wed, 30 Dec 2009 15:23:53 +0000 (16:23 +0100)]
gui/macosx: Added menu item to set playback rate back to normal
Close #1122
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Rémi Denis-Courmont [Wed, 30 Dec 2009 17:49:59 +0000 (19:49 +0200)]
Helpers for var_Inherit()
Rémi Denis-Courmont [Wed, 30 Dec 2009 17:38:03 +0000 (19:38 +0200)]
Export var_Inherit()
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:00:34 +0000 (20:00 +0200)]
Unused variable
Rémi Denis-Courmont [Wed, 30 Dec 2009 17:37:46 +0000 (19:37 +0200)]
Dead code
Rémi Denis-Courmont [Wed, 30 Dec 2009 15:15:01 +0000 (17:15 +0200)]
GetUnused: remove invalidated comment
Rémi Denis-Courmont [Wed, 30 Dec 2009 15:14:16 +0000 (17:14 +0200)]
Factor variable destruction code (out of the variable lock)
Rémi Denis-Courmont [Wed, 30 Dec 2009 15:01:29 +0000 (17:01 +0200)]
Allocate each object variable separately
This reduces the amount of memory copied when creating/deleting a
variable on an object. We now use a table of pointers instead of table
of variable_t.
This also simplifies callback handling a bit as the variable_t cannot
move anymore while we wait. Earlier another thread could add or remove
another variable on the same object, thus changing the variable table.
With this change, we could also store non-serialized data (i.e.
non-movable with memcpy/memmove) directly inside variable_t.
Antoine Cellerier [Wed, 30 Dec 2009 15:08:29 +0000 (16:08 +0100)]
C has a function named strchr().
Antoine Cellerier [Wed, 30 Dec 2009 14:54:50 +0000 (15:54 +0100)]
Partially fix interface parsing order when multiple lua intf aliases are used.
Antoine Cellerier [Wed, 30 Dec 2009 14:39:14 +0000 (15:39 +0100)]
Fix module_need parsing. a,b,c,d should first try loading a, then b, then c, then d.
Antoine Cellerier [Wed, 30 Dec 2009 14:26:45 +0000 (15:26 +0100)]
Only default to rc.lua if module loading wasn't forced. This still isn't perfect. (And there seems to be an issue in module_need(), wasn't -I intf1,intf2 supposed to first try loading intf1 and fallback to intf2 if intf1 couldn't load? For example -I rc,qt4 should load rc and not qt4, which is the case in 0.8.6 but doesn't seem to be the case in 1.0.0 ... looks like this is due to
bb0d752792bc6ded51e383240cadf399b9ca71fa removing i_shortcut_bonus)
Rémi Denis-Courmont [Wed, 30 Dec 2009 14:08:07 +0000 (16:08 +0200)]
Win32: fix previous commit plus small optimization
Rémi Denis-Courmont [Wed, 30 Dec 2009 13:54:54 +0000 (15:54 +0200)]
Win32: emulate static mutexes with a boolean (fix: #2399)
We use the same pattern as the variable callback lock: one mutex,
one condition variable and N boolean flags instead of N mutexes.
This is a bit slower but it shouldn't leak OS handles anymore.
Pierre d'Herbemont [Wed, 30 Dec 2009 05:05:30 +0000 (06:05 +0100)]
macosx/framework: Activate our dialog provider.
Pierre d'Herbemont [Wed, 30 Dec 2009 05:02:42 +0000 (06:02 +0100)]
variables: Fix two typos in InheritValue().
First one is about starting to inherit from the parent. Shouldn't hurt much.
Second one is about looking to inherit from the right variable. hurt more.
Pierre d'Herbemont [Wed, 30 Dec 2009 04:39:08 +0000 (05:39 +0100)]
macosx_dialog_provider: Offer a way to render this API somewhat legit with libvlc.
Make the dialogs that requires no user action and that will be normally handled via regular error code path optionals.
Still, there is no context with those dialogs, and we don't know to what output they belongs, ideally we should have a proper API that makes the client a proxy for those user actions.
Pierre d'Herbemont [Wed, 30 Dec 2009 03:50:50 +0000 (04:50 +0100)]
caca: On Mac OS X use the ncurses video driver by default.
Pierre d'Herbemont [Wed, 30 Dec 2009 03:48:31 +0000 (04:48 +0100)]
lua/intf: Default to rc instead of dummy since rc has a higher priority.
If the lua rc submodule gets autoselected because it has the higher priority, we need to correctly use it.
Pierre d'Herbemont [Wed, 30 Dec 2009 03:35:09 +0000 (04:35 +0100)]
macosx_dialog_provider: Must be opt-in. Set priority to 0.
Pierre d'Herbemont [Wed, 30 Dec 2009 03:31:12 +0000 (04:31 +0100)]
configure: Disable X Window support on Mac OS X by default.
Pierre d'Herbemont [Wed, 30 Dec 2009 03:05:13 +0000 (04:05 +0100)]
config: Make sure lua will be able to find share/lua on Mac OS X.
Pierre d'Herbemont [Wed, 30 Dec 2009 03:04:46 +0000 (04:04 +0100)]
darwin_specific: Save some expansive work at startup if we don't do NLS.
Pierre d'Herbemont [Wed, 30 Dec 2009 03:04:02 +0000 (04:04 +0100)]
macosx/framework: Make sure share/ and modules/ are next to vlc so that it can find them.
Pierre d'Herbemont [Wed, 30 Dec 2009 02:57:58 +0000 (03:57 +0100)]
configure: screensaver modules is for X.
Only enable when X window support is wanted.
Feel free to adjust.
Jean-Baptiste Kempf [Wed, 30 Dec 2009 01:36:21 +0000 (02:36 +0100)]
Qt: Fix some modality
Close #2763
Pierre d'Herbemont [Wed, 30 Dec 2009 01:27:08 +0000 (02:27 +0100)]
config: On Mac OS use the app identifier for app dependent config dirs.
This may hopefully spare us some conflicts with VLCKit/libvlc users.
Jean-Baptiste Kempf [Mon, 28 Dec 2009 00:02:14 +0000 (01:02 +0100)]
Support for mingw32 gcc 4.4.0
This is meant to fix the *printf format strings.
This is compatible with mingw 4.2.1 and 4.3.0
I haven't find a better place where to put this code...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Wed, 30 Dec 2009 01:03:50 +0000 (02:03 +0100)]
Subsdec: Code cosmetic and alignements
Jean-Baptiste Kempf [Wed, 30 Dec 2009 01:01:45 +0000 (02:01 +0100)]
Subsdec: initial support for <s> tag
We don't have the renderer for it, so far.
Jean-Baptiste Kempf [Tue, 29 Dec 2009 23:45:52 +0000 (00:45 +0100)]
Fix sout MRL generation in sout when transcode is deactivated
Close #3213
Jean-Baptiste Kempf [Tue, 29 Dec 2009 23:31:59 +0000 (00:31 +0100)]
Qt: allow a info button in interface toolbar
Close #2866
Jean-Baptiste Kempf [Tue, 29 Dec 2009 23:14:59 +0000 (00:14 +0100)]
Qt: Fix CovertArt on the playlist window
Jean-Baptiste Kempf [Tue, 29 Dec 2009 22:25:01 +0000 (23:25 +0100)]
Qt: fix First run dialog
And close #3182 the unparented widget that could be bothering you.
The issue about the unparented widget was totalled found by freeruner (on IRC and trac)
Rémi Denis-Courmont [Tue, 29 Dec 2009 21:28:00 +0000 (23:28 +0200)]
Qt4: rework HTTP sout box
The address field is removed, as it is quite useless. The default
unspecified value works just fine. In fact, it works better than
0.0.0.0 as it allows both IPv6 and IPv4 automatically.
A new path field is added for the local path, defaults to '/'
consistent with HTTP URI semantics ("http://www.example.com" really
means "http://www.example.com/").
Rémi Denis-Courmont [Tue, 29 Dec 2009 21:27:43 +0000 (23:27 +0200)]
InheritValue: fix type given to var_GetChecked()
Rémi Denis-Courmont [Tue, 29 Dec 2009 20:32:16 +0000 (22:32 +0200)]
InheritValue: simplify and render thread-safe
Rémi Denis-Courmont [Tue, 29 Dec 2009 20:16:32 +0000 (22:16 +0200)]
Allocate variable and inherit value before the variables lock
The initial value of the variable must be correct when the variables
lock is released after the variable was created. Hence we could not
release the lock between Insert() and InheritValue(). If we did, there
would be a race where another thread could see the variable with the
generic default value (0, "", 0., ...) instead of the inherited value.
So instead, we inherit the value in a temporary variable on the stack,
before we take the variables lock. Then we can create the variable with
the correct value without taking the lock for the duration of
InheritValue().
This adds overhead when an existing variable is re-created (i.e.
reference count is increased but no new variable is created). But it
dramatically reduces contention on the variables lock. More importantly,
it allows calling InheritValue() without the variables lock. So when we
fix InheritValue(), which is currently not thread-safe, we won't have
any problem with nested locking.
Rémi Denis-Courmont [Tue, 29 Dec 2009 18:34:03 +0000 (20:34 +0200)]
vlc_execve: use _exit in case of failure
Rémi Denis-Courmont [Tue, 29 Dec 2009 18:33:43 +0000 (20:33 +0200)]
vlc_execve: simplify, keep standard error
Rémi Denis-Courmont [Tue, 29 Dec 2009 18:19:34 +0000 (20:19 +0200)]
screensaver: convert to POSIX spawn
Martin T. Sandsmark [Tue, 29 Dec 2009 15:31:33 +0000 (16:31 +0100)]
use _exit() instead of exit() when checking CPU capabilities
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Erwan Tulou [Tue, 29 Dec 2009 13:49:45 +0000 (14:49 +0100)]
skins2: don't draw control if non visible at initialisation
Pierre Ynard [Tue, 29 Dec 2009 17:03:04 +0000 (18:03 +0100)]
rtp sout: adjust scope of variable
Martin T. H. Sandsmark [Tue, 29 Dec 2009 15:13:32 +0000 (16:13 +0100)]
Fix building of phonon-vlc
Jean-Baptiste Kempf [Tue, 29 Dec 2009 14:45:48 +0000 (15:45 +0100)]
DirectSound: cosmetics and error path fix
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 29 Dec 2009 14:29:19 +0000 (15:29 +0100)]
DirectSound: try to fix Wide Char issues
Here, the DSEnumCallback documentation seems wrong or misleading, it needs LPCWSTR with DirectSoundEnumerateW
http://msdn.microsoft.com/en-us/library/microsoft.directx_sdk.reference.dsenumcallback%28VS.85%29.aspx
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 29 Dec 2009 13:39:18 +0000 (14:39 +0100)]
DirectSound: Options change
Add an alias as "directsound"
Add the deprecated option
Add the change_restart_needed
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 29 Dec 2009 13:34:13 +0000 (14:34 +0100)]
DirectSound: Cosmetics
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 29 Dec 2009 13:32:24 +0000 (14:32 +0100)]
Waveout: Small scope improvement
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Tue, 29 Dec 2009 14:09:13 +0000 (16:09 +0200)]
Remove buggy and never used VLC_VAR_INHERITVALUE
InheritValue() is not thread-safe. It runs under the variable lock of
the object creating the new variabe. But it reads variables of parent
objects. This would require the variable lock of the parent object.
We still need to fix var_Create() with VLC_VAR_DOINHERIT.
Rémi Denis-Courmont [Tue, 29 Dec 2009 12:07:23 +0000 (14:07 +0200)]
Inherit from parent only, not from LibVLC
Pierre Ynard [Tue, 29 Dec 2009 01:22:01 +0000 (02:22 +0100)]
vod: switch to core code to generate SDP
Antoine Cellerier [Mon, 28 Dec 2009 23:45:55 +0000 (00:45 +0100)]
Change default alsa device lookup
If ALSA_DEFAULT cannot be opened, loop through all available alsa input devices.
(And if an alsa device was provided in the mrl but couldn't be opened, print the list of available alsa input devices in the debug output after the open error message.)
Antoine Cellerier [Mon, 28 Dec 2009 23:18:26 +0000 (00:18 +0100)]
Add a small help text to the alsa access.
Antoine Cellerier [Mon, 28 Dec 2009 23:03:22 +0000 (00:03 +0100)]
Use action id in lirc. (Untested)
Antoine Cellerier [Mon, 28 Dec 2009 17:11:35 +0000 (18:11 +0100)]
Make sure that vlc.gettext.N_() returns the first argument.
Antoine Cellerier [Mon, 28 Dec 2009 16:52:34 +0000 (17:52 +0100)]
Revert "lua: Make sure it builds with --disable-nls."
This reverts commit
29847260f62e4cf6218b0700a75e6f6b9ffb84e3 .
I'd rather have a stable lua api (besides, vlclua_gettext is already a noop).
Erwan Tulou [Sun, 27 Dec 2009 10:10:27 +0000 (11:10 +0100)]
skins2: add a fullscreen controller to the default skins
This fullscreen controller is copied from the main window.
It can be activated in fullscreen mode either via the 'i' hotkey
or mouse middle button.
Erwan Tulou [Mon, 28 Dec 2009 21:02:46 +0000 (22:02 +0100)]
skins(Win): add fullscreen controller as a child of fullscreen main window
Erwan Tulou [Mon, 28 Dec 2009 21:03:33 +0000 (22:03 +0100)]
msw: ensure the old vout output works as the new vout_display
This patch ensures we get the same behavior on Vista/Win7
(new vout_display) as we get on WinXP (old vout output with directx)
Erwan Tulou [Mon, 28 Dec 2009 20:33:29 +0000 (21:33 +0100)]
skins2: setOpacity moved to a better place
Opacity used to work only on newly loaded skins, but failed to work from
skins restored from a previous session.
Erwan Tulou [Mon, 28 Dec 2009 20:32:40 +0000 (21:32 +0100)]
skins2: a tiny memory leak
Erwan Tulou [Mon, 28 Dec 2009 20:30:46 +0000 (21:30 +0100)]
skins(Win): a proper way to terminate vlc
This fixes vlc hanging when closed via the popupmenu in the taskbar.
Rémi Duraffort [Mon, 28 Dec 2009 18:07:56 +0000 (19:07 +0100)]
Update LIST.
Rémi Duraffort [Mon, 28 Dec 2009 18:00:14 +0000 (19:00 +0100)]
list.sh: fix modules listing.
Rémi Duraffort [Mon, 28 Dec 2009 17:14:18 +0000 (18:14 +0100)]
lirc: clean up.
Geoffroy Couprie [Mon, 28 Dec 2009 16:09:07 +0000 (17:09 +0100)]
CSIDL_COMMON_APPDATA means All Users\Appdata, not MyUser\AppData
Geoffroy Couprie [Mon, 28 Dec 2009 16:07:59 +0000 (17:07 +0100)]
mp4: Factorize
Sebastien Zwickert [Sat, 26 Dec 2009 01:18:03 +0000 (02:18 +0100)]
gui/macosx: fix crash when the volume slider has been modified.
Signed-off-by: Pierre d'Herbemont <pdherbemont@free.fr>
Sebastien Zwickert [Fri, 25 Dec 2009 23:37:12 +0000 (00:37 +0100)]
gui/macosx: Fix ugly flashes of video view when the splitviews are resized.
Signed-off-by: Pierre d'Herbemont <pdherbemont@free.fr>
Rémi Duraffort [Mon, 28 Dec 2009 13:39:33 +0000 (14:39 +0100)]
factorize.
Rémi Duraffort [Tue, 22 Dec 2009 15:06:37 +0000 (16:06 +0100)]
module_cache_t: fix padding.
Rémi Duraffort [Tue, 22 Dec 2009 14:46:54 +0000 (15:46 +0100)]
Fix padding for picture_t and subpicture_t.
Rémi Duraffort [Tue, 22 Dec 2009 14:07:21 +0000 (15:07 +0100)]
input_thread_private_t: fix padding.
Rémi Duraffort [Tue, 22 Dec 2009 13:45:51 +0000 (14:45 +0100)]
libvlc_priv_t: fix padding.
Rémi Duraffort [Tue, 22 Dec 2009 13:33:35 +0000 (14:33 +0100)]
input_item_t: fix padding.
Rémi Duraffort [Tue, 22 Dec 2009 12:29:48 +0000 (13:29 +0100)]
input_clock_t: fix padding.
Rémi Duraffort [Wed, 23 Dec 2009 12:30:11 +0000 (13:30 +0100)]
libvlc: destroy the intf variable only if created just before.
Rémi Duraffort [Sun, 20 Dec 2009 16:44:56 +0000 (17:44 +0100)]
cmml: remove a potential security problem.
Anyway:
* cmml samples can't be found in the nature
* cmml demux does not works AFAIK
* we will remove cmml soon.
Rémi Duraffort [Sun, 20 Dec 2009 15:32:31 +0000 (16:32 +0100)]
sout_announce: use a static mutex instead of a variable.
Rémi Duraffort [Sun, 20 Dec 2009 11:19:05 +0000 (12:19 +0100)]
vlm: use a static mutex instead of a mutex variable (and fix a path with a missing unlock).
Rémi Duraffort [Sun, 20 Dec 2009 11:05:45 +0000 (12:05 +0100)]
relavideo: remove unused mutex variable.
Rémi Duraffort [Sun, 20 Dec 2009 10:11:34 +0000 (11:11 +0100)]
x264: use static mutex for win.
Rémi Duraffort [Sun, 20 Dec 2009 09:59:27 +0000 (10:59 +0100)]
osd: fix return value.
Rémi Duraffort [Sun, 20 Dec 2009 09:57:13 +0000 (10:57 +0100)]
video_filter_rotate: fix race condition.
Rémi Duraffort [Sun, 20 Dec 2009 09:54:16 +0000 (10:54 +0100)]
playlist: add a fixme => race condition.
Rémi Denis-Courmont [Mon, 28 Dec 2009 09:38:35 +0000 (11:38 +0200)]
vlc_GetActionId: binary search
Rémi Denis-Courmont [Mon, 28 Dec 2009 09:30:10 +0000 (11:30 +0200)]
Check that hotkeys are sorted properly (debug-only self-test)
Rémi Denis-Courmont [Mon, 28 Dec 2009 09:29:43 +0000 (11:29 +0200)]
Sort hotkey names ASCII-wise