]> git.sesse.net Git - vlc/log
vlc
12 years agoconfigure: print auto-selected plug-ins list directly
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:59:30 +0000 (18:59 +0300)]
configure: print auto-selected plug-ins list directly

No need to invoke vlc-config to expand a shell variable.

12 years agoconfigure: don't give bad advice about modifying vlc-config
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:59:05 +0000 (18:59 +0300)]
configure: don't give bad advice about modifying vlc-config

12 years agoTypo
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:42:53 +0000 (18:42 +0300)]
Typo

12 years agoNEWS: add S20B and DAT12
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:36:47 +0000 (18:36 +0300)]
NEWS: add S20B and DAT12

12 years agoClean up L20 decoding
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:35:36 +0000 (18:35 +0300)]
Clean up L20 decoding

12 years agoInitialize the configuration R/W lock statically
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:19:24 +0000 (18:19 +0300)]
Initialize the configuration R/W lock statically

The lock is static anyway (and so is the data).

12 years agoWin32: emulate static condition variables
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:14:41 +0000 (18:14 +0300)]
Win32: emulate static condition variables

This is really poor implementation, but it is not really used.

12 years agoWin32: use native Win32 functions directly for static mutexes
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:37:31 +0000 (17:37 +0300)]
Win32: use native Win32 functions directly for static mutexes

 * No recursion within the VLC threading functions.
 * No need to care about VLC cancellation.

12 years agoWin32: support vlc_cond_wait() with a static mutex
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:47:16 +0000 (17:47 +0300)]
Win32: support vlc_cond_wait() with a static mutex

12 years agoDefine VLC_STATIC_RWLOCK
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:18:16 +0000 (17:18 +0300)]
Define VLC_STATIC_RWLOCK

12 years agomsg_VaGeneric: simplify error handling
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:29:33 +0000 (17:29 +0300)]
msg_VaGeneric: simplify error handling

12 years agoCreate the C/POSIX locale on need-basis in message subsystem
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:18:22 +0000 (17:18 +0300)]
Create the C/POSIX locale on need-basis in message subsystem

The overhead is negligible, and this avoids depending on the message
bank.

12 years agoRemove unused duplicate vlc_usage
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:07:46 +0000 (17:07 +0300)]
Remove unused duplicate vlc_usage

This saves over 1kb in libvlccore. This object was found with:

 # readelf -a src/.libs/libvlccore.so | grep OBJECT

12 years agoRemove unused NODBG object flag
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:04:15 +0000 (17:04 +0300)]
Remove unused NODBG object flag

12 years agoAvformat demux: don't add empty tracks in AVMEDIA_TYPE_DATA cases
Jean-Baptiste Kempf [Thu, 18 Aug 2011 12:26:39 +0000 (14:26 +0200)]
Avformat demux: don't add empty tracks in AVMEDIA_TYPE_DATA cases

Ref: #5204

12 years agoAvcodec: map teletext IDs
Jean-Baptiste Kempf [Thu, 18 Aug 2011 11:08:26 +0000 (13:08 +0200)]
Avcodec: map teletext IDs

Close #5204

12 years agoFix many ES_OUT_RESET_PCR problems
Denis Charmet [Wed, 17 Aug 2011 10:41:45 +0000 (12:41 +0200)]
Fix many ES_OUT_RESET_PCR problems

As blocks are in coding orders, calling ES_OUT_SET_PCR at each blocks increase to trigger ES_OUT_RESET_PCR.
The reference blocks should be in chronological order though.

Acked-by: robux4
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoFix block dropping at chapter change for non ordered editions
Denis Charmet [Wed, 17 Aug 2011 10:41:44 +0000 (12:41 +0200)]
Fix block dropping at chapter change for non ordered editions

The release of the block only makes sense if the edition is ordered.

Acked-by: robux4
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoFreetype: kill warnings about sign comparison
Jean-Baptiste Kempf [Thu, 18 Aug 2011 10:20:16 +0000 (12:20 +0200)]
Freetype: kill warnings about sign comparison

12 years agoRemoteOSD: Simplify, remove warning and remove headers
Jean-Baptiste Kempf [Thu, 18 Aug 2011 10:16:53 +0000 (12:16 +0200)]
RemoteOSD: Simplify, remove warning and remove headers

12 years agoSkins2: remove unused variable
Jean-Baptiste Kempf [Thu, 18 Aug 2011 10:00:15 +0000 (12:00 +0200)]
Skins2: remove unused variable

12 years agoKeep revision.c in source tarballs
Rémi Denis-Courmont [Wed, 17 Aug 2011 18:59:56 +0000 (21:59 +0300)]
Keep revision.c in source tarballs

12 years agoDecoder for IEC61119 DAT12 (VLC_CODEC_DAT12)
Rémi Denis-Courmont [Wed, 17 Aug 2011 17:22:05 +0000 (20:22 +0300)]
Decoder for IEC61119 DAT12 (VLC_CODEC_DAT12)

This is the 12-bits logarithmic found on digital magnetic tapes,
also known at MIME audio/DAT12 (IETF RFC3190).

12 years agoDecoder for PCM 20-bits (VLC_CODEC_S20B)
Rémi Denis-Courmont [Wed, 17 Aug 2011 16:39:42 +0000 (19:39 +0300)]
Decoder for PCM 20-bits (VLC_CODEC_S20B)

This is also known as MIME audio/L20 (IETF RFC3190)

12 years agoaraw: refactor decoder to support byte-unaligned formats
Rémi Denis-Courmont [Wed, 17 Aug 2011 16:35:18 +0000 (19:35 +0300)]
araw: refactor decoder to support byte-unaligned formats

12 years agoGenerate plugins cache during staged (native) installation
Rémi Denis-Courmont [Wed, 17 Aug 2011 16:25:25 +0000 (19:25 +0300)]
Generate plugins cache during staged (native) installation

12 years agoaudio format: use bswap*()
Rémi Denis-Courmont [Wed, 17 Aug 2011 16:08:54 +0000 (19:08 +0300)]
audio format: use bswap*()

12 years agoImprove byte order inline functions
Rémi Denis-Courmont [Wed, 17 Aug 2011 16:01:17 +0000 (19:01 +0300)]
Improve byte order inline functions

 * Use GCC built-ins for 32-bits and 64-bits byte swap where available.
 * Load/store with single memcpy() instead of many byte operations.
 * Do not use bits operations for the local byte order.
 * Do not use reserved C keywords with leading underscores.

12 years agoIntroduce VLC_NORETURN function attribute and use it
Rémi Denis-Courmont [Wed, 17 Aug 2011 15:42:04 +0000 (18:42 +0300)]
Introduce VLC_NORETURN function attribute and use it

Note that this attribute implies that the function never returns in
any circumstances (it exits, it aborts or it gets cancelled).
Do not use this attribute for function that do not return at the end
but may return from other branches.

12 years agoIntroduce VLC_GCC_VERSION macro, fix popcount and clz
Rémi Denis-Courmont [Wed, 17 Aug 2011 15:28:25 +0000 (18:28 +0300)]
Introduce VLC_GCC_VERSION macro, fix popcount and clz

This can be used as follows:

 #if VLC_GCC_VERSION(major,minor)
 ...
 #endif

There is nothing "VLC" about it. The prefix is only about namespacing.

12 years agoMKV: compilation with EGCS is not supported anymore
Rémi Denis-Courmont [Wed, 17 Aug 2011 15:31:25 +0000 (18:31 +0300)]
MKV: compilation with EGCS is not supported anymore

12 years agomacosx: cut 1 px from the black effects pngs to suit their gray counterparts
Felix Paul Kühne [Wed, 17 Aug 2011 14:54:15 +0000 (16:54 +0200)]
macosx: cut 1 px from the black effects pngs to suit their gray counterparts

12 years agoMosaic: remove unused variable
Jean-Baptiste Kempf [Wed, 17 Aug 2011 13:07:12 +0000 (15:07 +0200)]
Mosaic: remove unused variable

12 years agoauhal: fixed compilation against the 10.7 SDK
Felix Paul Kühne [Wed, 17 Aug 2011 10:50:39 +0000 (12:50 +0200)]
auhal: fixed compilation against the 10.7 SDK

12 years agoAuHal: try to fix compilation on SDK > 10.5
Jean-Baptiste Kempf [Wed, 17 Aug 2011 10:47:12 +0000 (12:47 +0200)]
AuHal: try to fix compilation on SDK > 10.5

12 years agoMacOS: fix compilation
Jean-Baptiste Kempf [Wed, 17 Aug 2011 10:33:40 +0000 (12:33 +0200)]
MacOS: fix compilation

12 years agomacosx: fix compilation with the 10.5 SDK
Felix Paul Kühne [Wed, 17 Aug 2011 10:21:36 +0000 (12:21 +0200)]
macosx: fix compilation with the 10.5 SDK

12 years agoAuhal: simplifications
Jean-Baptiste Kempf [Wed, 17 Aug 2011 10:04:09 +0000 (12:04 +0200)]
Auhal: simplifications

12 years agomacosx: remove the fullscreen button from the main window when running on Lion, since...
Felix Paul Kühne [Tue, 16 Aug 2011 18:28:05 +0000 (20:28 +0200)]
macosx: remove the fullscreen button from the main window when running on Lion, since NSWindowFullScreenButton is present in the window title

12 years agoskins2: remove weird stuff and hopefully fix Win32 build
Rémi Denis-Courmont [Tue, 16 Aug 2011 19:53:07 +0000 (22:53 +0300)]
skins2: remove weird stuff and hopefully fix Win32 build

12 years agoDisable the dangling callback warning for the time being
Rémi Denis-Courmont [Tue, 16 Aug 2011 19:15:27 +0000 (22:15 +0300)]
Disable the dangling callback warning for the time being

It might not always be a bug.

12 years agoRemove vlc_plugin_set from export list
Rémi Denis-Courmont [Tue, 16 Aug 2011 18:03:45 +0000 (21:03 +0300)]
Remove vlc_plugin_set from export list

12 years agoconfigure: remove flawed V4L2 detection logic
Rémi Denis-Courmont [Tue, 16 Aug 2011 18:03:06 +0000 (21:03 +0300)]
configure: remove flawed V4L2 detection logic

12 years agoAuhal: remove unnecessary variables
Jean-Baptiste Kempf [Fri, 12 Aug 2011 16:18:32 +0000 (18:18 +0200)]
Auhal: remove unnecessary variables

12 years agoAuhal: code cosmetics and warning
Jean-Baptiste Kempf [Fri, 12 Aug 2011 16:15:19 +0000 (18:15 +0200)]
Auhal: code cosmetics and warning

12 years agoQt4: retain newlines in config item long text
Rémi Denis-Courmont [Tue, 16 Aug 2011 17:20:21 +0000 (20:20 +0300)]
Qt4: retain newlines in config item long text

12 years agoQt: remove unneeded whitespace that blocks normalized signatures
Jean-Baptiste Kempf [Tue, 16 Aug 2011 16:33:28 +0000 (18:33 +0200)]
Qt: remove unneeded whitespace that blocks normalized signatures

12 years agoALSA: update to new audio output interface
Rémi Denis-Courmont [Wed, 10 Aug 2011 15:14:27 +0000 (18:14 +0300)]
ALSA: update to new audio output interface

 * Buffer push straight from input, no more repacketization.
 * Support for pause/resume.
 * Support for flush (and unused support for drain).
 * Larger buffers if available (as with HDA cards).
 * Reduced periods count to minimum (they are not normally required).

12 years agoDefine HAVE_V4L2 conditional
Rémi Denis-Courmont [Tue, 16 Aug 2011 16:15:57 +0000 (19:15 +0300)]
Define HAVE_V4L2 conditional

There should be more V4L2-based plugins later, e.g. FM RX, FM TX, VOUT.

12 years agoFix OSS input compilation
Rémi Denis-Courmont [Tue, 16 Aug 2011 16:15:46 +0000 (19:15 +0300)]
Fix OSS input compilation

12 years agoMake plugins cache relocatable
Rémi Denis-Courmont [Tue, 16 Aug 2011 14:25:09 +0000 (17:25 +0300)]
Make plugins cache relocatable

The plugins cache now contains plugins file path relative to the base
plugins directory (the directory that contains plugins.dat). The cache
can hence be generated from a different absolute directory than the one
it is later installed to.

For native or emulated native builds, this enables build-time cache
generation.

Note however that the relative paths are different in the build tree
(modules/*/.libs/lib*_plugin.*) and in standard installation
(plugins/*/lib*_plugin.*). The cache cannot be copied from the build
tree to the installation directory.

12 years agoInclude "modules.h" from libvlc-module.c
Rémi Denis-Courmont [Tue, 16 Aug 2011 12:55:02 +0000 (15:55 +0300)]
Include "modules.h" from libvlc-module.c

This ensures that the vlc_entry__main prototype matches.

12 years agoUse callback and opaque pointer for plugin descriptors
Rémi Denis-Courmont [Tue, 16 Aug 2011 12:54:31 +0000 (15:54 +0300)]
Use callback and opaque pointer for plugin descriptors

This is more flexible and extensible.

12 years agoSplit modules bank stuff from module (non-bank) stuff
Rémi Denis-Courmont [Tue, 16 Aug 2011 11:06:01 +0000 (14:06 +0300)]
Split modules bank stuff from module (non-bank) stuff

12 years agoSmall code factorization
Rémi Denis-Courmont [Tue, 16 Aug 2011 10:40:31 +0000 (13:40 +0300)]
Small code factorization

12 years agoInline DeleteModule() and simplify
Rémi Denis-Courmont [Tue, 16 Aug 2011 10:33:13 +0000 (13:33 +0300)]
Inline DeleteModule() and simplify

12 years agoUse vlc_module_destroy() instead of DeleteModule() where possible
Rémi Denis-Courmont [Tue, 16 Aug 2011 10:28:37 +0000 (13:28 +0300)]
Use vlc_module_destroy() instead of DeleteModule() where possible

This avoids going through the linked list of modules. This is fine so
long as the module structure is indeed not in the list.

12 years agoClean up config_Free()
Rémi Denis-Courmont [Tue, 16 Aug 2011 08:44:58 +0000 (11:44 +0300)]
Clean up config_Free()

12 years agoCreate primary module from plug-in descriptor and factor code
Rémi Denis-Courmont [Tue, 16 Aug 2011 07:28:36 +0000 (10:28 +0300)]
Create primary module from plug-in descriptor and factor code

This should ease later implementation of proper error handling.

12 years agoDestroy submodules from vlc_module_destroy()
Rémi Denis-Courmont [Tue, 16 Aug 2011 07:56:32 +0000 (10:56 +0300)]
Destroy submodules from vlc_module_destroy()

Again, this should help fix leaks in error paths.

12 years agoCorrect module descriptor indentation (no functional changes)
Rémi Denis-Courmont [Tue, 16 Aug 2011 06:55:30 +0000 (09:55 +0300)]
Correct module descriptor indentation (no functional changes)

12 years agoRemove never defined HAVE_DL_DYLD and HAVE_IMAGE_H cases
Rémi Denis-Courmont [Tue, 16 Aug 2011 11:27:54 +0000 (14:27 +0300)]
Remove never defined HAVE_DL_DYLD and HAVE_IMAGE_H cases

12 years agoRemove unused HAVE_DL_WINDOWS
Rémi Denis-Courmont [Tue, 16 Aug 2011 11:25:00 +0000 (14:25 +0300)]
Remove unused HAVE_DL_WINDOWS

12 years agoRC: fix parse_MRL prototype: unused parameter and const
Rémi Denis-Courmont [Tue, 16 Aug 2011 06:55:03 +0000 (09:55 +0300)]
RC: fix parse_MRL prototype: unused parameter and const

12 years agoRC: unused variable
Rémi Denis-Courmont [Tue, 16 Aug 2011 06:54:51 +0000 (09:54 +0300)]
RC: unused variable

12 years agovout_macosx: compilation fix for 10.6 and earlier
Felix Paul Kühne [Tue, 16 Aug 2011 16:09:51 +0000 (18:09 +0200)]
vout_macosx: compilation fix for 10.6 and earlier

12 years agoQt: use qDeleteAll on VLM dialog
Jean-Baptiste Kempf [Tue, 16 Aug 2011 16:06:16 +0000 (18:06 +0200)]
Qt: use qDeleteAll on VLM dialog

12 years agoQt: use QWidgetList when applicable
Jean-Baptiste Kempf [Tue, 16 Aug 2011 16:06:04 +0000 (18:06 +0200)]
Qt: use QWidgetList when applicable

12 years agomacosx: moved compatiblity fixes to a designated header
Felix Paul Kühne [Tue, 16 Aug 2011 16:03:51 +0000 (18:03 +0200)]
macosx: moved compatiblity fixes to a designated header

12 years agoQt: use QString iso std::string
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:31:28 +0000 (17:31 +0200)]
Qt: use QString iso std::string

12 years agoQt: use __MIN when applicable
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:23:15 +0000 (17:23 +0200)]
Qt: use __MIN when applicable

12 years agoQt: remove unnecessary header
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:23:06 +0000 (17:23 +0200)]
Qt: remove unnecessary header

12 years agoQt: use const_iterator when possible
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:15:29 +0000 (17:15 +0200)]
Qt: use const_iterator when possible

12 years agoQt: Use append iso push_*
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:11:37 +0000 (17:11 +0200)]
Qt: Use append iso push_*

12 years agoQt: use isEmpty() iso empty()
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:07:18 +0000 (17:07 +0200)]
Qt: use isEmpty() iso empty()

12 years agoQt: use count() iso size() on Qt Containers
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:05:02 +0000 (17:05 +0200)]
Qt: use count() iso size() on Qt Containers

12 years agoQt, menus: std::vector -> QVector
Jean-Baptiste Kempf [Tue, 16 Aug 2011 12:00:54 +0000 (14:00 +0200)]
Qt, menus: std::vector -> QVector

12 years agomacosx: don't let the vout resize the window if we are in Lion's fullscreen mode
Felix Paul Kühne [Tue, 16 Aug 2011 12:31:03 +0000 (14:31 +0200)]
macosx: don't let the vout resize the window if we are in Lion's fullscreen mode

12 years agomacosx: added native fullscreen support for OS X Lion
Felix Paul Kühne [Tue, 16 Aug 2011 12:09:30 +0000 (14:09 +0200)]
macosx: added native fullscreen support for OS X Lion

12 years agomacosx: use an updated API to set the behavior of menu bar and Dock in fullscreen...
Felix Paul Kühne [Tue, 16 Aug 2011 09:10:18 +0000 (11:10 +0200)]
macosx: use an updated API to set the behavior of menu bar and Dock in fullscreen mode on 10.6&later

this allows the user to access the Dock while in fullscreen mode in contrast to the previous implementation. behavior on 10.5 did not change.

12 years agoaout: fix crash if output restart fails
Rémi Denis-Courmont [Mon, 15 Aug 2011 21:05:38 +0000 (00:05 +0300)]
aout: fix crash if output restart fails

12 years agoaout: fix crash if input restart fails
Rémi Denis-Courmont [Mon, 15 Aug 2011 21:04:45 +0000 (00:04 +0300)]
aout: fix crash if input restart fails

12 years agoRemove module_t.b_builtin
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:26:00 +0000 (22:26 +0300)]
Remove module_t.b_builtin

12 years agoRemove unused module bank parameters
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:16:51 +0000 (22:16 +0300)]
Remove unused module bank parameters

12 years agoClean up registration of statically linked modules
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:15:48 +0000 (22:15 +0300)]
Clean up registration of statically linked modules

12 years agoCopy strings from plugin descriptor, remove (D|Und)upModules()
Rémi Denis-Courmont [Mon, 15 Aug 2011 17:11:28 +0000 (20:11 +0300)]
Copy strings from plugin descriptor, remove (D|Und)upModules()

12 years agoRemove module_hold and module_release
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:35:51 +0000 (19:35 +0300)]
Remove module_hold and module_release

Modules are created at initialization and destroyed at exit (after all
VLC threads are terminated) There is no need to count references.

12 years agoTypo
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:28:30 +0000 (19:28 +0300)]
Typo

12 years agovlc_module_(start|stop): constify
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:05:18 +0000 (19:05 +0300)]
vlc_module_(start|stop): constify

12 years agoDo not save unloadable flag for submodule
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:53:01 +0000 (19:53 +0300)]
Do not save unloadable flag for submodule

This property is fundamentally per-plugin, not per-submodule.

12 years agoAlways use (get)text domain from primary module
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:36:00 +0000 (19:36 +0300)]
Always use (get)text domain from primary module

12 years agoDo not store help for submodules in cache
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:23:32 +0000 (19:23 +0300)]
Do not store help for submodules in cache

This field is never used for submodules, and in fact there would be no
way to show it in the (current) UI.

12 years agofile: show directory config items in a separate section
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:17:39 +0000 (19:17 +0300)]
file: show directory config items in a separate section

12 years agoInitialize submodule explicitly
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:15:59 +0000 (19:15 +0300)]
Initialize submodule explicitly

12 years agoRemove module_t.psz_object_name
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:11:00 +0000 (19:11 +0300)]
Remove module_t.psz_object_name

This is the same as module_t.pp_shortcuts[0].

12 years agoUse module_get_object() where appropriate and improve error handling
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:03:16 +0000 (19:03 +0300)]
Use module_get_object() where appropriate and improve error handling

Use NULL rather than a static string as the default.
module_get_object() deals with this situation.

12 years agoAllow NULL module capability
Rémi Denis-Courmont [Mon, 15 Aug 2011 15:57:31 +0000 (18:57 +0300)]
Allow NULL module capability

The module will never be proved. This applies to the "main" module
and the playlist demux (which only has submodules).

12 years agocompilation fix
Felix Paul Kühne [Mon, 15 Aug 2011 00:18:55 +0000 (02:18 +0200)]
compilation fix

12 years agomacosx: saved various objc selector dispatches when iterating, additionally fixes...
Felix Paul Kühne [Mon, 15 Aug 2011 00:11:56 +0000 (02:11 +0200)]
macosx: saved various objc selector dispatches when iterating, additionally fixes #5113

12 years agomacosx: fixed crash when opening multiple files using the simple open dialog
Felix Paul Kühne [Sun, 14 Aug 2011 23:37:42 +0000 (01:37 +0200)]
macosx: fixed crash when opening multiple files using the simple open dialog