vlc.git
13 years agoDon't leak picture_t
Jean-Paul Saman [Fri, 9 May 2008 12:58:38 +0000 (14:58 +0200)]
Don't leak picture_t

13 years agoRemove silly "out of memory" messages.
Jean-Paul Saman [Fri, 9 May 2008 12:51:46 +0000 (14:51 +0200)]
Remove silly "out of memory" messages.

13 years agocmake: Fix bootstrap script.
Pierre d'Herbemont [Fri, 9 May 2008 10:37:50 +0000 (12:37 +0200)]
cmake: Fix bootstrap script.

13 years agodvb module uses STRINGIFY()
Christophe Mutricy [Thu, 8 May 2008 22:55:37 +0000 (23:55 +0100)]
dvb module uses STRINGIFY()

13 years agoncurses: restore hierarchical view
Rafaël Carré [Thu, 8 May 2008 20:51:26 +0000 (22:51 +0200)]
ncurses: restore hierarchical view

13 years agoDon't use multiple lines macros in if conditions
Rafaël Carré [Thu, 8 May 2008 20:26:24 +0000 (22:26 +0200)]
Don't use multiple lines macros in if conditions

13 years agoVLC_VariableSet: assume unsafe variable settings. Fixes #1371.
Rémi Denis-Courmont [Thu, 8 May 2008 20:29:40 +0000 (23:29 +0300)]
VLC_VariableSet: assume unsafe variable settings. Fixes #1371.

13 years agoWin32: kill the Win64-induced warning
Rémi Denis-Courmont [Thu, 8 May 2008 20:26:36 +0000 (23:26 +0300)]
Win32: kill the Win64-induced warning

13 years agoWin32 compile fix
Rémi Denis-Courmont [Thu, 8 May 2008 20:25:31 +0000 (23:25 +0300)]
Win32 compile fix

13 years agoDeleteModule cannot fail * don't handle impossible errors
Rémi Denis-Courmont [Thu, 8 May 2008 20:08:39 +0000 (23:08 +0300)]
DeleteModule cannot fail * don't handle impossible errors

13 years agomodule bank: use vlc_custom_create
Rémi Denis-Courmont [Thu, 8 May 2008 19:59:49 +0000 (22:59 +0300)]
module bank: use vlc_custom_create

13 years agovlc_threads_funcs.h and vlc_module_macros.h have been deleted
Rafaël Carré [Thu, 8 May 2008 20:04:07 +0000 (22:04 +0200)]
vlc_threads_funcs.h and vlc_module_macros.h have been deleted

13 years agoLock FFmpeg to r12920 for now to get us nice builds
Felix Paul Kühne [Thu, 8 May 2008 20:04:03 +0000 (22:04 +0200)]
Lock FFmpeg to r12920 for now to get us nice builds

13 years agoshortcuts are strings
Rafaël Carré [Thu, 8 May 2008 19:58:29 +0000 (21:58 +0200)]
shortcuts are strings

13 years agocapabilities are strings
Rémi Denis-Courmont [Thu, 8 May 2008 19:54:46 +0000 (22:54 +0300)]
capabilities are strings

13 years agoWin32 compile fixes
Rémi Denis-Courmont [Thu, 8 May 2008 19:33:21 +0000 (22:33 +0300)]
Win32 compile fixes

13 years agoMerge vlc_threads.h and vlc_threads_funcs.h
Rémi Denis-Courmont [Thu, 8 May 2008 19:07:35 +0000 (22:07 +0300)]
Merge vlc_threads.h and vlc_threads_funcs.h

13 years agoFix the kludge for old glibc
Rémi Denis-Courmont [Thu, 8 May 2008 18:58:38 +0000 (21:58 +0300)]
Fix the kludge for old glibc

13 years agoMove pthread to the front.
Rémi Denis-Courmont [Thu, 8 May 2008 18:55:05 +0000 (21:55 +0300)]
Move pthread to the front.

If anyone wants to try on Win32, that's going to help.

13 years agoMutexes cannot be error-checking and recursive at the same time
Rémi Denis-Courmont [Thu, 8 May 2008 18:38:08 +0000 (21:38 +0300)]
Mutexes cannot be error-checking and recursive at the same time

13 years agoFix a bunch of warnings (error handling)
Rémi Denis-Courmont [Thu, 8 May 2008 17:16:40 +0000 (20:16 +0300)]
Fix a bunch of warnings (error handling)

13 years agoFix yesterday's VLM bug
Rémi Denis-Courmont [Thu, 8 May 2008 17:06:10 +0000 (20:06 +0300)]
Fix yesterday's VLM bug

13 years agoDon't declare a non-existent function
Rémi Denis-Courmont [Thu, 8 May 2008 16:55:54 +0000 (19:55 +0300)]
Don't declare a non-existent function

13 years agoNo need to auto-include <vlc_plugin.h> anymore
Rémi Denis-Courmont [Thu, 8 May 2008 16:35:15 +0000 (19:35 +0300)]
No need to auto-include <vlc_plugin.h> anymore

13 years agoDon't redefine MODULE_STRING
Rémi Denis-Courmont [Thu, 8 May 2008 16:26:30 +0000 (19:26 +0300)]
Don't redefine MODULE_STRING

13 years agovlc_modules_macros.h -> vlc_plugin.h
Rémi Denis-Courmont [Thu, 8 May 2008 15:55:18 +0000 (18:55 +0300)]
vlc_modules_macros.h -> vlc_plugin.h

13 years agoRemove E_()
Rémi Denis-Courmont [Thu, 8 May 2008 16:16:45 +0000 (19:16 +0300)]
Remove E_()

13 years agoInclude vlc_plugin.h as needed
Rémi Denis-Courmont [Thu, 8 May 2008 15:30:33 +0000 (18:30 +0300)]
Include vlc_plugin.h as needed

13 years agoMerge the plugins macros into one header
Rémi Denis-Courmont [Thu, 8 May 2008 15:16:09 +0000 (18:16 +0300)]
Merge the plugins macros into one header

13 years agoRemove dead CPP
Rémi Denis-Courmont [Thu, 8 May 2008 15:13:34 +0000 (18:13 +0300)]
Remove dead CPP

13 years agovlc_module_set: use vararg, more flexible
Rémi Denis-Courmont [Thu, 8 May 2008 15:12:56 +0000 (18:12 +0300)]
vlc_module_set: use vararg, more flexible

13 years agoDBus: use the current array of playlist items
Rafaël Carré [Thu, 8 May 2008 15:38:02 +0000 (17:38 +0200)]
DBus: use the current array of playlist items

fix #1570

13 years agoFix warning
Rémi Denis-Courmont [Thu, 8 May 2008 15:07:59 +0000 (18:07 +0300)]
Fix warning

13 years agoCopyright changes. (btw, does Copyright the VideoLAN team really mean something?...
Antoine Cellerier [Thu, 8 May 2008 11:31:32 +0000 (13:31 +0200)]
Copyright changes. (btw, does Copyright the VideoLAN team really mean something? for example, in French law you can't give away copyright to someone else)

13 years agoDon't use the playlist if it has been destroyed
Rafaël Carré [Thu, 8 May 2008 09:55:45 +0000 (11:55 +0200)]
Don't use the playlist if it has been destroyed

13 years agoAdd france2.lua here.
Antoine Cellerier [Wed, 7 May 2008 22:45:41 +0000 (00:45 +0200)]
Add france2.lua here.

13 years agoLua playlist script for pages like http://jt.france2.fr/player/20h/
Antoine Cellerier [Wed, 7 May 2008 22:24:23 +0000 (00:24 +0200)]
Lua playlist script for pages like jt.france2.fr/player/20h/

13 years agoLess and less information with compile
Rémi Duraffort [Wed, 7 May 2008 21:40:33 +0000 (23:40 +0200)]
Less and less information with compile

13 years agoNo need to take the structure lock when finding oneself
Rémi Denis-Courmont [Wed, 7 May 2008 20:19:10 +0000 (23:19 +0300)]
No need to take the structure lock when finding oneself

as we don't go through the object table and links.

13 years agoFix the same race condition as in
Rémi Denis-Courmont [Wed, 7 May 2008 20:15:46 +0000 (23:15 +0300)]
Fix the same race condition as in
[19bd84c786fecb77531073b697aad4d3c221d15d]

13 years agoUse a per-object spin around the reference count.
Rémi Denis-Courmont [Wed, 7 May 2008 20:12:52 +0000 (23:12 +0300)]
Use a per-object spin around the reference count.

So we don't contend for the global structure lock all the time.

13 years agoOnly insert new object into the table one initialized
Rémi Denis-Courmont [Wed, 7 May 2008 19:53:15 +0000 (22:53 +0300)]
Only insert new object into the table one initialized

13 years agoDon't mix 2 implementation approaches
Felix Paul Kühne [Wed, 7 May 2008 19:50:24 +0000 (21:50 +0200)]
Don't mix 2 implementation approaches

Introduced in the previous commit, pointed by Pierre. Thanks!

13 years agoDon't check for 0 refcount.
Rémi Denis-Courmont [Wed, 7 May 2008 19:46:37 +0000 (22:46 +0300)]
Don't check for 0 refcount.

If it happens, there is a bug, and we'll assert in _yield.

13 years agovlc_object_find*: don't check that refcount is zero
Rémi Denis-Courmont [Wed, 7 May 2008 19:43:53 +0000 (22:43 +0300)]
vlc_object_find*: don't check that refcount is zero

Besides, we assert that this isn't the case right before...

13 years agoRemove useless i_refcount == 0 case and fix a tiny race condition.
Rémi Denis-Courmont [Wed, 7 May 2008 19:40:48 +0000 (22:40 +0300)]
Remove useless i_refcount == 0 case and fix a tiny race condition.

When i_refcount drops to zero (under the structure lock), the object is
removed from the objects table before the structure lock is released.
Hence, no objects with a nul refcount can ever be left in the table.

There is an unlikely race condition if another object is removed from
the table right between we unlock the structure lock but before we
return from vlc_object_get() (so that the i_middle offset gets wrong).

13 years agoRemove any pl_Get usage
Felix Paul Kühne [Wed, 7 May 2008 19:33:33 +0000 (21:33 +0200)]
Remove any pl_Get usage

13 years agoRemove p_playlist from p_libvlc
Rémi Denis-Courmont [Wed, 7 May 2008 19:26:56 +0000 (22:26 +0300)]
Remove p_playlist from p_libvlc

Plugins are already using pl_Yield to get the playlist, as they should.

13 years agoFix incorrect printf argument
Rémi Denis-Courmont [Wed, 7 May 2008 19:26:11 +0000 (22:26 +0300)]
Fix incorrect printf argument

13 years agoFix missing #include
Rémi Denis-Courmont [Wed, 7 May 2008 19:25:09 +0000 (22:25 +0300)]
Fix missing #include

13 years agoTag a bug so that I don't forget about it
Rémi Denis-Courmont [Wed, 7 May 2008 19:06:23 +0000 (22:06 +0300)]
Tag a bug so that I don't forget about it

13 years agoset_destructor has no need for the structure lock
Rémi Denis-Courmont [Wed, 7 May 2008 18:50:25 +0000 (21:50 +0300)]
set_destructor has no need for the structure lock

13 years agoRemove pl_Get. This endorsed unyielded playlist access.
Rémi Denis-Courmont [Wed, 7 May 2008 18:38:43 +0000 (21:38 +0300)]
Remove pl_Get. This endorsed unyielded playlist access.

13 years agoDon't reregister the same callbacks over and over again
Rémi Denis-Courmont [Wed, 7 May 2008 18:37:29 +0000 (21:37 +0300)]
Don't reregister the same callbacks over and over again

13 years agoUPnP_Intel: yield the playlist
Rémi Denis-Courmont [Wed, 7 May 2008 18:28:54 +0000 (21:28 +0300)]
UPnP_Intel: yield the playlist

(Could someone please review these commit)

13 years agoVorbis: yield the playlist when using it
Rémi Denis-Courmont [Wed, 7 May 2008 18:25:54 +0000 (21:25 +0300)]
Vorbis: yield the playlist when using it

13 years agoSAP: yield and release the playlist
Rémi Denis-Courmont [Wed, 7 May 2008 18:18:49 +0000 (21:18 +0300)]
SAP: yield and release the playlist

13 years agolibvlc_stats: use VLC_OBJECT to remove a bunch of warnings
Rémi Denis-Courmont [Wed, 7 May 2008 17:58:25 +0000 (20:58 +0300)]
libvlc_stats: use VLC_OBJECT to remove a bunch of warnings

13 years agoVLC_OBJECT: add missing parenthesis
Rémi Denis-Courmont [Wed, 7 May 2008 17:58:05 +0000 (20:58 +0300)]
VLC_OBJECT: add missing parenthesis

13 years agoWe know where VLM is, no need to find it.
Rémi Denis-Courmont [Wed, 7 May 2008 17:51:49 +0000 (20:51 +0300)]
We know where VLM is, no need to find it.

Now we can remove the VLM object type.

13 years agoRemove the glibc libintl kludge.
Rémi Denis-Courmont [Wed, 7 May 2008 17:18:31 +0000 (20:18 +0300)]
Remove the glibc libintl kludge.

Afterall it's not our bug. More importantly, the vlc_cond_wait "possible
deadlock" debug message has been removed, which makes the problem a lot
less likely to happen.

13 years agoFix detection of ending of FontBuilder thread
Rafaël Carré [Wed, 7 May 2008 16:53:22 +0000 (18:53 +0200)]
Fix detection of ending of FontBuilder thread

13 years agoFix Range handling
Rémi Denis-Courmont [Wed, 7 May 2008 16:38:48 +0000 (19:38 +0300)]
Fix Range handling

In RTSP/1.0, don't return any range (as far as I understand).
In RTSP/2.0, we'd have to compute the time from the beginning.

13 years agoProvide gmtime_r
Rémi Denis-Courmont [Wed, 7 May 2008 16:11:19 +0000 (19:11 +0300)]
Provide gmtime_r

13 years agoAdd RTSP Date:
Rémi Denis-Courmont [Wed, 7 May 2008 16:09:54 +0000 (19:09 +0300)]
Add RTSP Date:

13 years agoRTSP: output proper Range: header
Rémi Denis-Courmont [Wed, 7 May 2008 15:41:47 +0000 (18:41 +0300)]
RTSP: output proper Range: header

13 years agoCache the --daemon value, so we remove the PID file iff we created it
Rémi Denis-Courmont [Wed, 7 May 2008 14:57:40 +0000 (17:57 +0300)]
Cache the --daemon value, so we remove the PID file iff we created it

13 years agosout-std: remove RTP stuff (since we don't have a RTP access output)
Rémi Denis-Courmont [Wed, 7 May 2008 14:34:24 +0000 (17:34 +0300)]
sout-std: remove RTP stuff (since we don't have a RTP access output)

13 years agoUndo --sout-udp-auto-mcast
Rémi Denis-Courmont [Wed, 7 May 2008 14:31:23 +0000 (17:31 +0300)]
Undo --sout-udp-auto-mcast

(was not in previous release, so not adding _obsolete).

13 years agoForgotten phony targets
Rafaël Carré [Wed, 7 May 2008 14:30:29 +0000 (16:30 +0200)]
Forgotten phony targets

13 years agocontribs: remove reference to old stuff
Rafaël Carré [Wed, 7 May 2008 14:22:50 +0000 (16:22 +0200)]
contribs: remove reference to old stuff

13 years agoFix #1487 - race condition
Rafaël Carré [Tue, 6 May 2008 21:55:58 +0000 (23:55 +0200)]
Fix #1487 - race condition

13 years agoMeaningful typo
Christophe Mutricy [Tue, 6 May 2008 20:46:46 +0000 (21:46 +0100)]
Meaningful typo

13 years agoFix #1572
Rafaël Carré [Tue, 6 May 2008 21:17:42 +0000 (23:17 +0200)]
Fix #1572

The bug is present in original "Linux DeCSA Tool" on http://csa.irde.to/

13 years agoconfig_GetConfigFile: remove unused parameter
Rémi Denis-Courmont [Tue, 6 May 2008 20:10:28 +0000 (23:10 +0300)]
config_GetConfigFile: remove unused parameter

13 years agoUse config_GetUserDataDir() internally
Rémi Denis-Courmont [Tue, 6 May 2008 20:07:59 +0000 (23:07 +0300)]
Use config_GetUserDataDir() internally

13 years agoUse config_GetUserConfDir internally too
Rémi Denis-Courmont [Tue, 6 May 2008 20:00:36 +0000 (23:00 +0300)]
Use config_GetUserConfDir internally too

13 years agoUse config_GetCacheDir internally
Rémi Denis-Courmont [Tue, 6 May 2008 19:56:57 +0000 (22:56 +0300)]
Use config_GetCacheDir internally

13 years agoOups the nynorsk l10n haven't arrived yet
Christophe Mutricy [Tue, 6 May 2008 19:51:39 +0000 (20:51 +0100)]
Oups the nynorsk l10n haven't arrived yet

13 years agoUse the proper code for norvegian bokmål and use a symlink for no as it is what peopl...
Christophe Mutricy [Mon, 5 May 2008 20:24:09 +0000 (21:24 +0100)]
Use the proper code for norvegian bokmål and use a symlink for no as it is what people expect

13 years agoFix VLC.app target
Rafaël Carré [Tue, 6 May 2008 18:23:03 +0000 (20:23 +0200)]
Fix VLC.app target

13 years agoAdding some forgotten return-statements and removing some commented-out code.
Ilkka Ollakka [Tue, 6 May 2008 18:11:41 +0000 (21:11 +0300)]
Adding some forgotten return-statements and removing some commented-out code.

13 years agoRTMP bugfix and reusability enhacenment
Miguel Angel Cabrera Moya [Mon, 5 May 2008 21:28:39 +0000 (23:28 +0200)]
RTMP bugfix and reusability enhacenment

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
13 years agoForgot live555 in the previous commit. It's quite useful to compile it, too.
Felix Paul Kühne [Tue, 6 May 2008 16:14:45 +0000 (18:14 +0200)]
Forgot live555 in the previous commit. It's quite useful to compile it, too.

13 years agoRemember that VLC_ADD_BUILTINS is ugly and that we don't want to use it for modules...
Felix Paul Kühne [Tue, 6 May 2008 16:05:26 +0000 (18:05 +0200)]
Remember that VLC_ADD_BUILTINS is ugly and that we don't want to use it for modules that we actually want to be build

13 years agouse PL_**LOCK instead of vlc_mutex_lock
Felix Paul Kühne [Tue, 6 May 2008 15:52:06 +0000 (17:52 +0200)]
use PL_**LOCK instead of vlc_mutex_lock

13 years agouse files.musepack.net instead of files2.musepack.net to download libmpcdec
Felix Paul Kühne [Tue, 6 May 2008 15:12:51 +0000 (17:12 +0200)]
use files.musepack.net instead of files2.musepack.net to download libmpcdec

13 years agoLess information when compiling with compile
Rémi Duraffort [Tue, 6 May 2008 12:49:08 +0000 (14:49 +0200)]
Less information when compiling with compile

13 years agoPrint less information about the compilation when using make.pl
Rémi Duraffort [Tue, 6 May 2008 12:25:52 +0000 (14:25 +0200)]
Print less information about the compilation when using make.pl

13 years agoCheck malloc return value
Rafaël Carré [Tue, 6 May 2008 11:11:23 +0000 (13:11 +0200)]
Check malloc return value

13 years agomosaic: Free string variables after using them
Rafaël Carré [Tue, 6 May 2008 09:25:58 +0000 (11:25 +0200)]
mosaic: Free string variables after using them

13 years agoFix compiler warning in fbosd.c
Jean-Paul Saman [Tue, 6 May 2008 08:57:09 +0000 (10:57 +0200)]
Fix compiler warning in fbosd.c

13 years agoRemove dead code.
Jean-Paul Saman [Tue, 6 May 2008 08:14:23 +0000 (10:14 +0200)]
Remove dead code.

13 years agoCleanup and add workaround for FPGA bug.
Jean-Paul Saman [Tue, 6 May 2008 08:04:51 +0000 (10:04 +0200)]
Cleanup and add workaround for FPGA bug.

13 years agogenerated files from axvlc.idl by midl (VisualStudio 2008)
Anthony Loiseau [Fri, 25 Apr 2008 12:18:58 +0000 (14:18 +0200)]
generated files from axvlc.idl by midl (VisualStudio 2008)

In ActiveX project, three files have to be generated from
axvlc.idl (API description file). This commit update those files
based on the latest .idl modifications.

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
13 years agoSSL certificates are in /etc, not in /usr/share
Rémi Denis-Courmont [Mon, 5 May 2008 20:55:12 +0000 (23:55 +0300)]
SSL certificates are in /etc, not in /usr/share

13 years agoAdd config_GetConfDir
Rémi Denis-Courmont [Mon, 5 May 2008 20:53:12 +0000 (23:53 +0300)]
Add config_GetConfDir

13 years agoconfig_GetConfigDir -> config_GetUserConfDir
Rémi Denis-Courmont [Mon, 5 May 2008 20:33:25 +0000 (23:33 +0300)]
config_GetConfigDir -> config_GetUserConfDir

13 years agoHide psz_(cache|config|data)dir
Rémi Denis-Courmont [Mon, 5 May 2008 20:30:53 +0000 (23:30 +0300)]
Hide psz_(cache|config|data)dir

13 years agoUse config_Get*Dir
Rémi Denis-Courmont [Mon, 5 May 2008 20:16:50 +0000 (23:16 +0300)]
Use config_Get*Dir