]>
git.sesse.net Git - vlc/log
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
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:42:53 +0000 (18:42 +0300)]
Typo
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:36:47 +0000 (18:36 +0300)]
NEWS: add S20B and DAT12
Rémi Denis-Courmont [Thu, 18 Aug 2011 15:35:36 +0000 (18:35 +0300)]
Clean up L20 decoding
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).
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.
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.
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:47:16 +0000 (17:47 +0300)]
Win32: support vlc_cond_wait() with a static mutex
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:18:16 +0000 (17:18 +0300)]
Define VLC_STATIC_RWLOCK
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:29:33 +0000 (17:29 +0300)]
msg_VaGeneric: simplify error handling
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.
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
Rémi Denis-Courmont [Thu, 18 Aug 2011 14:04:15 +0000 (17:04 +0300)]
Remove unused NODBG object flag
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
Jean-Baptiste Kempf [Thu, 18 Aug 2011 11:08:26 +0000 (13:08 +0200)]
Avcodec: map teletext IDs
Close #5204
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>
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>
Jean-Baptiste Kempf [Thu, 18 Aug 2011 10:20:16 +0000 (12:20 +0200)]
Freetype: kill warnings about sign comparison
Jean-Baptiste Kempf [Thu, 18 Aug 2011 10:16:53 +0000 (12:16 +0200)]
RemoteOSD: Simplify, remove warning and remove headers
Jean-Baptiste Kempf [Thu, 18 Aug 2011 10:00:15 +0000 (12:00 +0200)]
Skins2: remove unused variable
Rémi Denis-Courmont [Wed, 17 Aug 2011 18:59:56 +0000 (21:59 +0300)]
Keep revision.c in source tarballs
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).
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)
Rémi Denis-Courmont [Wed, 17 Aug 2011 16:35:18 +0000 (19:35 +0300)]
araw: refactor decoder to support byte-unaligned formats
Rémi Denis-Courmont [Wed, 17 Aug 2011 16:25:25 +0000 (19:25 +0300)]
Generate plugins cache during staged (native) installation
Rémi Denis-Courmont [Wed, 17 Aug 2011 16:08:54 +0000 (19:08 +0300)]
audio format: use bswap*()
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.
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.
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.
Rémi Denis-Courmont [Wed, 17 Aug 2011 15:31:25 +0000 (18:31 +0300)]
MKV: compilation with EGCS is not supported anymore
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
Jean-Baptiste Kempf [Wed, 17 Aug 2011 13:07:12 +0000 (15:07 +0200)]
Mosaic: remove unused variable
Felix Paul Kühne [Wed, 17 Aug 2011 10:50:39 +0000 (12:50 +0200)]
auhal: fixed compilation against the 10.7 SDK
Jean-Baptiste Kempf [Wed, 17 Aug 2011 10:47:12 +0000 (12:47 +0200)]
AuHal: try to fix compilation on SDK > 10.5
Jean-Baptiste Kempf [Wed, 17 Aug 2011 10:33:40 +0000 (12:33 +0200)]
MacOS: fix compilation
Felix Paul Kühne [Wed, 17 Aug 2011 10:21:36 +0000 (12:21 +0200)]
macosx: fix compilation with the 10.5 SDK
Jean-Baptiste Kempf [Wed, 17 Aug 2011 10:04:09 +0000 (12:04 +0200)]
Auhal: simplifications
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
Rémi Denis-Courmont [Tue, 16 Aug 2011 19:53:07 +0000 (22:53 +0300)]
skins2: remove weird stuff and hopefully fix Win32 build
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.
Rémi Denis-Courmont [Tue, 16 Aug 2011 18:03:45 +0000 (21:03 +0300)]
Remove vlc_plugin_set from export list
Rémi Denis-Courmont [Tue, 16 Aug 2011 18:03:06 +0000 (21:03 +0300)]
configure: remove flawed V4L2 detection logic
Jean-Baptiste Kempf [Fri, 12 Aug 2011 16:18:32 +0000 (18:18 +0200)]
Auhal: remove unnecessary variables
Jean-Baptiste Kempf [Fri, 12 Aug 2011 16:15:19 +0000 (18:15 +0200)]
Auhal: code cosmetics and warning
Rémi Denis-Courmont [Tue, 16 Aug 2011 17:20:21 +0000 (20:20 +0300)]
Qt4: retain newlines in config item long text
Jean-Baptiste Kempf [Tue, 16 Aug 2011 16:33:28 +0000 (18:33 +0200)]
Qt: remove unneeded whitespace that blocks normalized signatures
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).
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.
Rémi Denis-Courmont [Tue, 16 Aug 2011 16:15:46 +0000 (19:15 +0300)]
Fix OSS input compilation
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.
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.
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.
Rémi Denis-Courmont [Tue, 16 Aug 2011 11:06:01 +0000 (14:06 +0300)]
Split modules bank stuff from module (non-bank) stuff
Rémi Denis-Courmont [Tue, 16 Aug 2011 10:40:31 +0000 (13:40 +0300)]
Small code factorization
Rémi Denis-Courmont [Tue, 16 Aug 2011 10:33:13 +0000 (13:33 +0300)]
Inline DeleteModule() and simplify
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.
Rémi Denis-Courmont [Tue, 16 Aug 2011 08:44:58 +0000 (11:44 +0300)]
Clean up config_Free()
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.
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.
Rémi Denis-Courmont [Tue, 16 Aug 2011 06:55:30 +0000 (09:55 +0300)]
Correct module descriptor indentation (no functional changes)
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
Rémi Denis-Courmont [Tue, 16 Aug 2011 11:25:00 +0000 (14:25 +0300)]
Remove unused HAVE_DL_WINDOWS
Rémi Denis-Courmont [Tue, 16 Aug 2011 06:55:03 +0000 (09:55 +0300)]
RC: fix parse_MRL prototype: unused parameter and const
Rémi Denis-Courmont [Tue, 16 Aug 2011 06:54:51 +0000 (09:54 +0300)]
RC: unused variable
Felix Paul Kühne [Tue, 16 Aug 2011 16:09:51 +0000 (18:09 +0200)]
vout_macosx: compilation fix for 10.6 and earlier
Jean-Baptiste Kempf [Tue, 16 Aug 2011 16:06:16 +0000 (18:06 +0200)]
Qt: use qDeleteAll on VLM dialog
Jean-Baptiste Kempf [Tue, 16 Aug 2011 16:06:04 +0000 (18:06 +0200)]
Qt: use QWidgetList when applicable
Felix Paul Kühne [Tue, 16 Aug 2011 16:03:51 +0000 (18:03 +0200)]
macosx: moved compatiblity fixes to a designated header
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:31:28 +0000 (17:31 +0200)]
Qt: use QString iso std::string
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:23:15 +0000 (17:23 +0200)]
Qt: use __MIN when applicable
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:23:06 +0000 (17:23 +0200)]
Qt: remove unnecessary header
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:15:29 +0000 (17:15 +0200)]
Qt: use const_iterator when possible
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:11:37 +0000 (17:11 +0200)]
Qt: Use append iso push_*
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:07:18 +0000 (17:07 +0200)]
Qt: use isEmpty() iso empty()
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:05:02 +0000 (17:05 +0200)]
Qt: use count() iso size() on Qt Containers
Jean-Baptiste Kempf [Tue, 16 Aug 2011 12:00:54 +0000 (14:00 +0200)]
Qt, menus: std::vector -> QVector
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
Felix Paul Kühne [Tue, 16 Aug 2011 12:09:30 +0000 (14:09 +0200)]
macosx: added native fullscreen support for OS X Lion
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.
Rémi Denis-Courmont [Mon, 15 Aug 2011 21:05:38 +0000 (00:05 +0300)]
aout: fix crash if output restart fails
Rémi Denis-Courmont [Mon, 15 Aug 2011 21:04:45 +0000 (00:04 +0300)]
aout: fix crash if input restart fails
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:26:00 +0000 (22:26 +0300)]
Remove module_t.b_builtin
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:16:51 +0000 (22:16 +0300)]
Remove unused module bank parameters
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:15:48 +0000 (22:15 +0300)]
Clean up registration of statically linked modules
Rémi Denis-Courmont [Mon, 15 Aug 2011 17:11:28 +0000 (20:11 +0300)]
Copy strings from plugin descriptor, remove (D|Und)upModules()
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.
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:28:30 +0000 (19:28 +0300)]
Typo
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:05:18 +0000 (19:05 +0300)]
vlc_module_(start|stop): constify
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.
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:36:00 +0000 (19:36 +0300)]
Always use (get)text domain from primary module
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.
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:17:39 +0000 (19:17 +0300)]
file: show directory config items in a separate section
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:15:59 +0000 (19:15 +0300)]
Initialize submodule explicitly
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].
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.
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).
Felix Paul Kühne [Mon, 15 Aug 2011 00:18:55 +0000 (02:18 +0200)]
compilation fix
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
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
Felix Paul Kühne [Sun, 14 Aug 2011 22:34:21 +0000 (00:34 +0200)]
macosx: make sure that the left end of the black progression bar is round