]> git.sesse.net Git - vlc/log
vlc
14 years agobandlimited: factorize.
Rémi Duraffort [Thu, 31 Dec 2009 10:19:09 +0000 (11:19 +0100)]
bandlimited: factorize.

Signed-off-by: Pierre d'Herbemont <pdherbemont@free.fr>
14 years agomacosx/framework: Use syslog facilities.
Pierre d'Herbemont [Wed, 30 Dec 2009 13:57:38 +0000 (14:57 +0100)]
macosx/framework: Use syslog facilities.

14 years agologger: Remove what seems to be useless.
Pierre d'Herbemont [Wed, 30 Dec 2009 13:57:13 +0000 (14:57 +0100)]
logger: Remove what seems to be useless.

14 years agomacosx/framework: upnp_intel is available within VLCKit.
Pierre d'Herbemont [Wed, 30 Dec 2009 13:20:43 +0000 (14:20 +0100)]
macosx/framework: upnp_intel is available within VLCKit.

14 years agovout_macosx: Ensure initialization on main thread.
Pierre d'Herbemont [Wed, 30 Dec 2009 13:19:48 +0000 (14:19 +0100)]
vout_macosx: Ensure initialization on main thread.

14 years agologger: Allow log-verbose to override --verbose.
Pierre d'Herbemont [Wed, 30 Dec 2009 13:19:05 +0000 (14:19 +0100)]
logger: Allow log-verbose to override --verbose.

14 years agoSubtitles: hide {Y:xxx } like tags
Jean-Baptiste Kempf [Wed, 30 Dec 2009 23:42:33 +0000 (00:42 +0100)]
Subtitles: hide {Y:xxx } like tags

14 years agoWin32: kill a warning
Jean-Baptiste Kempf [Wed, 30 Dec 2009 23:31:14 +0000 (00:31 +0100)]
Win32: kill a warning

14 years agoNEWS about subs improvement.
Jean-Baptiste Kempf [Wed, 30 Dec 2009 23:30:56 +0000 (00:30 +0100)]
NEWS about subs improvement.

14 years agoSupport for strikethrough in freetype renderer
Bernie Purcell [Wed, 30 Dec 2009 23:27:30 +0000 (00:27 +0100)]
Support for strikethrough in freetype renderer

Half Patch is from jb

14 years agoContrib: Matroska server is down again...
Jean-Baptiste Kempf [Wed, 30 Dec 2009 21:48:44 +0000 (22:48 +0100)]
Contrib: Matroska server is down again...

14 years agoNTService: fix stray ‘\302’ in program issue
Jean-Baptiste Kempf [Wed, 30 Dec 2009 21:46:31 +0000 (22:46 +0100)]
NTService: fix stray ‘\302’ in program issue

14 years agoXCB global hotkeys: don't bother unregistering
Rémi Denis-Courmont [Wed, 30 Dec 2009 20:42:42 +0000 (22:42 +0200)]
XCB global hotkeys: don't bother unregistering

We shut the X11 connection down immediately anyway. This will
automatically undo all of our key grabs.

14 years agoXCB global hotkeys: don't keep a connection and a thread if not needed
Rémi Denis-Courmont [Wed, 30 Dec 2009 20:39:42 +0000 (22:39 +0200)]
XCB global hotkeys: don't keep a connection and a thread if not needed

The X11 connection and the poll()'ing thread are useless if we don't
grab any single key. We still return VLC_SUCCESS to avoid an error while
VLC is being started.

14 years agoFB OSD: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:49:44 +0000 (21:49 +0200)]
FB OSD: use var_Inherit

14 years agoASX parser: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:45:43 +0000 (21:45 +0200)]
ASX parser: kill config_Get

14 years agoMatroska demux: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:45:29 +0000 (21:45 +0200)]
Matroska demux: use var_Inherit

14 years agoAVI demux: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:45:06 +0000 (21:45 +0200)]
AVI demux: kill config_Get

14 years agotelnet: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:42:14 +0000 (21:42 +0200)]
telnet: use var_Inherit

14 years agoscale tempo: fix typo
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:42:04 +0000 (21:42 +0200)]
scale tempo: fix typo

14 years agoRemote Control: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:37:16 +0000 (21:37 +0200)]
Remote Control: use var_Inherit

14 years agoNT service: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:36:49 +0000 (21:36 +0200)]
NT service: use var_Inherit

14 years agoNetsync: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:36:19 +0000 (21:36 +0200)]
Netsync: use var_Inherit

14 years agomotion interface: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:36:06 +0000 (21:36 +0200)]
motion interface: use var_Inherit

14 years agoHTTP interface: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:29:24 +0000 (21:29 +0200)]
HTTP interface: kill config_Get

14 years agohotkeys: user var_Inherit (partial)
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:27:24 +0000 (21:27 +0200)]
hotkeys: user var_Inherit (partial)

14 years agogestures: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:27:14 +0000 (21:27 +0200)]
gestures: use var_Inherit

14 years agoSVCD sub: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:26:55 +0000 (21:26 +0200)]
SVCD sub: kill config_Get

14 years agolavc: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:26:37 +0000 (21:26 +0200)]
lavc: kill config_Get

14 years agoheadphone mixer: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:26:23 +0000 (21:26 +0200)]
headphone mixer: kill config_Get

14 years agoRemote Control: use vlc_GetActionId
Rémi Denis-Courmont [Wed, 30 Dec 2009 19:37:27 +0000 (21:37 +0200)]
Remote Control: use vlc_GetActionId

14 years agoWaveOut: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:32:59 +0000 (20:32 +0200)]
WaveOut: kill config_Get

14 years agoOSS: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:32:50 +0000 (20:32 +0200)]
OSS: kill config_Get

14 years agoJACK output: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:31:48 +0000 (20:31 +0200)]
JACK output: use var_Inherit

14 years agoDirectX audio output: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:30:16 +0000 (20:30 +0200)]
DirectX audio output: kill config_Get

14 years agoauhal: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:30:09 +0000 (20:30 +0200)]
auhal: kill config_Get

14 years agoALSA output: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:29:25 +0000 (20:29 +0200)]
ALSA output: kill config_Get

14 years agoscale tempo filter: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:28:43 +0000 (20:28 +0200)]
scale tempo filter: kill config_Get

14 years agoband-limited resampler: kill config_Get*
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:28:02 +0000 (20:28 +0200)]
band-limited resampler: kill config_Get*

14 years agoParameterized equalizer: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:27:36 +0000 (20:27 +0200)]
Parameterized equalizer: kill config_Get

14 years agolibdca: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:26:23 +0000 (20:26 +0200)]
libdca: kill config_Get

14 years agoliba52: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:26:10 +0000 (20:26 +0200)]
liba52: kill config_Get

14 years agomono mixer: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:25:30 +0000 (20:25 +0200)]
mono mixer: kill config_Get

14 years agoheadphone: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:24:58 +0000 (20:24 +0200)]
headphone: kill config_Get

14 years agohttp output: kill config_Get (commented out anyway)
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:24:45 +0000 (20:24 +0200)]
http output: kill config_Get (commented out anyway)

14 years agoVCDX: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:23:29 +0000 (20:23 +0200)]
VCDX: use var_Inherit

14 years agoV4L2: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:23:07 +0000 (20:23 +0200)]
V4L2: kill config_Get

14 years agoMMSH: use var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:22:51 +0000 (20:22 +0200)]
MMSH: use var_Inherit

14 years agoVCDX: use after free
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:21:07 +0000 (20:21 +0200)]
VCDX: use after free

14 years agoAvoid variable shadowing
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:17:32 +0000 (20:17 +0200)]
Avoid variable shadowing

14 years agoDVD: kill config_Get
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:15:09 +0000 (20:15 +0200)]
DVD: kill config_Get

14 years agoDVB: config_Get -> var_Inherit
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:13:55 +0000 (20:13 +0200)]
DVB: config_Get -> var_Inherit

14 years agocdda: kill config_Get*
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:12:25 +0000 (20:12 +0200)]
cdda: kill config_Get*

14 years agogui/macosx: Added menu item to set playback rate back to normal
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>
14 years agoHelpers for var_Inherit()
Rémi Denis-Courmont [Wed, 30 Dec 2009 17:49:59 +0000 (19:49 +0200)]
Helpers for var_Inherit()

14 years agoExport var_Inherit()
Rémi Denis-Courmont [Wed, 30 Dec 2009 17:38:03 +0000 (19:38 +0200)]
Export var_Inherit()

14 years agoUnused variable
Rémi Denis-Courmont [Wed, 30 Dec 2009 18:00:34 +0000 (20:00 +0200)]
Unused variable

14 years agoDead code
Rémi Denis-Courmont [Wed, 30 Dec 2009 17:37:46 +0000 (19:37 +0200)]
Dead code

14 years agoGetUnused: remove invalidated comment
Rémi Denis-Courmont [Wed, 30 Dec 2009 15:15:01 +0000 (17:15 +0200)]
GetUnused: remove invalidated comment

14 years agoFactor variable destruction code (out of the variable lock)
Rémi Denis-Courmont [Wed, 30 Dec 2009 15:14:16 +0000 (17:14 +0200)]
Factor variable destruction code (out of the variable lock)

14 years agoAllocate each object variable separately
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.

14 years agoC has a function named strchr().
Antoine Cellerier [Wed, 30 Dec 2009 15:08:29 +0000 (16:08 +0100)]
C has a function named strchr().

14 years agoPartially fix interface parsing order when multiple lua intf aliases are used.
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.

14 years agoFix 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: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.

14 years agoOnly default to rc.lua if module loading wasn't forced. This still isn't perfect...
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)

14 years agoWin32: fix previous commit plus small optimization
Rémi Denis-Courmont [Wed, 30 Dec 2009 14:08:07 +0000 (16:08 +0200)]
Win32: fix previous commit plus small optimization

14 years agoWin32: emulate static mutexes with a boolean (fix: #2399)
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.

14 years agomacosx/framework: Activate our dialog provider.
Pierre d'Herbemont [Wed, 30 Dec 2009 05:05:30 +0000 (06:05 +0100)]
macosx/framework: Activate our dialog provider.

14 years agovariables: Fix two typos in InheritValue().
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.

14 years agomacosx_dialog_provider: Offer a way to render this API somewhat legit with libvlc.
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.

14 years agocaca: On Mac OS X use the ncurses video driver by default.
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.

14 years agolua/intf: Default to rc instead of dummy since rc has a higher priority.
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.

14 years agomacosx_dialog_provider: Must be opt-in. Set priority to 0.
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.

14 years agoconfigure: Disable X Window support on Mac OS X by default.
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.

14 years agoconfig: Make sure lua will be able to find share/lua on Mac OS X.
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.

14 years agodarwin_specific: Save some expansive work at startup if we don't do NLS.
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.

14 years agomacosx/framework: Make sure share/ and modules/ are next to vlc so that it can find...
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.

14 years agoconfigure: screensaver modules is for X.
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.

14 years agoQt: Fix some modality
Jean-Baptiste Kempf [Wed, 30 Dec 2009 01:36:21 +0000 (02:36 +0100)]
Qt: Fix some modality

Close #2763

14 years agoconfig: On Mac OS use the app identifier for app dependent config dirs.
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.

14 years agoSupport for mingw32 gcc 4.4.0
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>
14 years agoSubsdec: Code cosmetic and alignements
Jean-Baptiste Kempf [Wed, 30 Dec 2009 01:03:50 +0000 (02:03 +0100)]
Subsdec: Code cosmetic and alignements

14 years agoSubsdec: initial support for <s> tag
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.

14 years agoFix sout MRL generation in sout when transcode is deactivated
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

14 years agoQt: allow a info button in interface toolbar
Jean-Baptiste Kempf [Tue, 29 Dec 2009 23:31:59 +0000 (00:31 +0100)]
Qt: allow a info button in interface toolbar

Close #2866

14 years agoQt: Fix CovertArt on the playlist window
Jean-Baptiste Kempf [Tue, 29 Dec 2009 23:14:59 +0000 (00:14 +0100)]
Qt: Fix CovertArt on the playlist window

14 years agoQt: fix First run dialog
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)

14 years agoQt4: rework HTTP sout box
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/").

14 years agoInheritValue: fix type given to var_GetChecked()
Rémi Denis-Courmont [Tue, 29 Dec 2009 21:27:43 +0000 (23:27 +0200)]
InheritValue: fix type given to var_GetChecked()

14 years agoInheritValue: simplify and render thread-safe
Rémi Denis-Courmont [Tue, 29 Dec 2009 20:32:16 +0000 (22:32 +0200)]
InheritValue: simplify and render thread-safe

14 years agoAllocate variable and inherit value before the variables lock
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.

14 years agovlc_execve: use _exit in case of failure
Rémi Denis-Courmont [Tue, 29 Dec 2009 18:34:03 +0000 (20:34 +0200)]
vlc_execve: use _exit in case of failure

14 years agovlc_execve: simplify, keep standard error
Rémi Denis-Courmont [Tue, 29 Dec 2009 18:33:43 +0000 (20:33 +0200)]
vlc_execve: simplify, keep standard error

14 years agoscreensaver: convert to POSIX spawn
Rémi Denis-Courmont [Tue, 29 Dec 2009 18:19:34 +0000 (20:19 +0200)]
screensaver: convert to POSIX spawn

14 years agouse _exit() instead of exit() when checking CPU capabilities
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>
14 years agoskins2: don't draw control if non visible at initialisation
Erwan Tulou [Tue, 29 Dec 2009 13:49:45 +0000 (14:49 +0100)]
skins2: don't draw control if non visible at initialisation

14 years agortp sout: adjust scope of variable
Pierre Ynard [Tue, 29 Dec 2009 17:03:04 +0000 (18:03 +0100)]
rtp sout: adjust scope of variable

14 years agoFix building of phonon-vlc
Martin T. H. Sandsmark [Tue, 29 Dec 2009 15:13:32 +0000 (16:13 +0100)]
Fix building of phonon-vlc

14 years agoDirectSound: cosmetics and error path fix
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>
14 years agoDirectSound: try to fix Wide Char issues
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>