]> git.sesse.net Git - vlc/log
vlc
13 years agoFix linking with libv4l2
Rafaël Carré [Fri, 19 Aug 2011 05:40:27 +0000 (01:40 -0400)]
Fix linking with libv4l2

13 years agoRemove msg_subscription_t.verbosity
Rémi Denis-Courmont [Thu, 18 Aug 2011 21:06:34 +0000 (00:06 +0300)]
Remove msg_subscription_t.verbosity

13 years agoRemove msg_SubscriptionSetVerbosity
Rémi Denis-Courmont [Thu, 18 Aug 2011 20:43:14 +0000 (23:43 +0300)]
Remove msg_SubscriptionSetVerbosity

13 years agoncurses: apply message verbosity filtering
Rémi Denis-Courmont [Thu, 18 Aug 2011 20:41:10 +0000 (23:41 +0300)]
ncurses: apply message verbosity filtering

13 years agoncurses: no need to turn off cancellation in message callback
Rémi Denis-Courmont [Thu, 18 Aug 2011 20:38:08 +0000 (23:38 +0300)]
ncurses: no need to turn off cancellation in message callback

There is no potentially cancellation-unsafe code here (unlike Qt4),
since msg_Free() is safe and vlc_mutex_*() of course too.

13 years agoQt4: apply verbosity filtering within Qt, do not rely on core
Rémi Denis-Courmont [Thu, 18 Aug 2011 20:34:36 +0000 (23:34 +0300)]
Qt4: apply verbosity filtering within Qt, do not rely on core

13 years agoUseless #include
Rémi Denis-Courmont [Thu, 18 Aug 2011 19:58:12 +0000 (22:58 +0300)]
Useless #include

13 years agoRemove redumdant vlc_va_copy() and checks
Rémi Denis-Courmont [Thu, 18 Aug 2011 19:55:43 +0000 (22:55 +0300)]
Remove redumdant vlc_va_copy() and checks

13 years agobswap64: hack for C++ brain damage
Rémi Denis-Courmont [Thu, 18 Aug 2011 19:17:12 +0000 (22:17 +0300)]
bswap64: hack for C++ brain damage

Contrary to C, C++ compilers don't promote larger constants up to
unsigned long long when needed.

13 years agoRemove vlc-config
Rémi Denis-Courmont [Thu, 18 Aug 2011 19:02:21 +0000 (22:02 +0300)]
Remove vlc-config

13 years agoMigrate VLC_ADD_* flags from vlc-config to AC_SUBST
Rémi Denis-Courmont [Thu, 18 Aug 2011 18:23:25 +0000 (21:23 +0300)]
Migrate VLC_ADD_* flags from vlc-config to AC_SUBST

13 years agoSet filesystem libs in Makefile
Rémi Denis-Courmont [Thu, 18 Aug 2011 18:23:09 +0000 (21:23 +0300)]
Set filesystem libs in Makefile

13 years agoFix kate linking, use LIBS rather than LDFLAGS
Rémi Denis-Courmont [Thu, 18 Aug 2011 18:22:45 +0000 (21:22 +0300)]
Fix kate linking, use LIBS rather than LDFLAGS

13 years agoDo not use -fvtable-thunks, the compiler does not support it anymore
Rémi Denis-Courmont [Thu, 18 Aug 2011 18:22:24 +0000 (21:22 +0300)]
Do not use -fvtable-thunks, the compiler does not support it anymore

13 years agoSet SOCKET_LIBS on Windows too
Rémi Denis-Courmont [Thu, 18 Aug 2011 18:07:51 +0000 (21:07 +0300)]
Set SOCKET_LIBS on Windows too

13 years agoMove MODULE_* predefined constants from vlc-config to Makefile
Rémi Denis-Courmont [Thu, 18 Aug 2011 16:56:01 +0000 (19:56 +0300)]
Move MODULE_* predefined constants from vlc-config to Makefile

13 years agoRemove unused prefix stuff from vlc-config
Rémi Denis-Courmont [Thu, 18 Aug 2011 16:06:57 +0000 (19:06 +0300)]
Remove unused prefix stuff from vlc-config

13 years agoRemove broken and useless vlc-config --list
Rémi Denis-Courmont [Thu, 18 Aug 2011 16:02:28 +0000 (19:02 +0300)]
Remove broken and useless vlc-config --list

13 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.

13 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

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

13 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

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

13 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).

13 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.

13 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.

13 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

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

13 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

13 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.

13 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

13 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

13 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

13 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

13 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>
13 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>
13 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

13 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

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

13 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

13 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).

13 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)

13 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

13 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

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

13 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.

13 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.

13 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.

13 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

13 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

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

13 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

13 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

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

13 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

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

13 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

13 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

13 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.

13 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

13 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

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

13 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

13 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

13 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

13 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).

13 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.

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

13 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.

13 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.

13 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.

13 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

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

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

13 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.

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

13 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.

13 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.

13 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)

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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_*

13 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()

13 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

13 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

13 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

13 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

13 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.

13 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

13 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