]>
git.sesse.net Git - vlc/log
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.
Rémi Denis-Courmont [Wed, 7 May 2008 19:53:15 +0000 (22:53 +0300)]
Only insert new object into the table one initialized
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!
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.
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...
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).
Felix Paul Kühne [Wed, 7 May 2008 19:33:33 +0000 (21:33 +0200)]
Remove any pl_Get usage
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.
Rémi Denis-Courmont [Wed, 7 May 2008 19:26:11 +0000 (22:26 +0300)]
Fix incorrect printf argument
Rémi Denis-Courmont [Wed, 7 May 2008 19:25:09 +0000 (22:25 +0300)]
Fix missing #include
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
Rémi Denis-Courmont [Wed, 7 May 2008 18:50:25 +0000 (21:50 +0300)]
set_destructor has no need for the structure lock
Rémi Denis-Courmont [Wed, 7 May 2008 18:38:43 +0000 (21:38 +0300)]
Remove pl_Get. This endorsed unyielded playlist access.
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
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)
Rémi Denis-Courmont [Wed, 7 May 2008 18:25:54 +0000 (21:25 +0300)]
Vorbis: yield the playlist when using it
Rémi Denis-Courmont [Wed, 7 May 2008 18:18:49 +0000 (21:18 +0300)]
SAP: yield and release the playlist
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
Rémi Denis-Courmont [Wed, 7 May 2008 17:58:05 +0000 (20:58 +0300)]
VLC_OBJECT: add missing parenthesis
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.
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.
Rafaël Carré [Wed, 7 May 2008 16:53:22 +0000 (18:53 +0200)]
Fix detection of ending of FontBuilder thread
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.
Rémi Denis-Courmont [Wed, 7 May 2008 16:11:19 +0000 (19:11 +0300)]
Provide gmtime_r
Rémi Denis-Courmont [Wed, 7 May 2008 16:09:54 +0000 (19:09 +0300)]
Add RTSP Date:
Rémi Denis-Courmont [Wed, 7 May 2008 15:41:47 +0000 (18:41 +0300)]
RTSP: output proper Range: header
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
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)
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).
Rafaël Carré [Wed, 7 May 2008 14:30:29 +0000 (16:30 +0200)]
Forgotten phony targets
Rafaël Carré [Wed, 7 May 2008 14:22:50 +0000 (16:22 +0200)]
contribs: remove reference to old stuff
Rafaël Carré [Tue, 6 May 2008 21:55:58 +0000 (23:55 +0200)]
Fix #1487 - race condition
Christophe Mutricy [Tue, 6 May 2008 20:46:46 +0000 (21:46 +0100)]
Meaningful typo
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/
Rémi Denis-Courmont [Tue, 6 May 2008 20:10:28 +0000 (23:10 +0300)]
config_GetConfigFile: remove unused parameter
Rémi Denis-Courmont [Tue, 6 May 2008 20:07:59 +0000 (23:07 +0300)]
Use config_GetUserDataDir() internally
Rémi Denis-Courmont [Tue, 6 May 2008 20:00:36 +0000 (23:00 +0300)]
Use config_GetUserConfDir internally too
Rémi Denis-Courmont [Tue, 6 May 2008 19:56:57 +0000 (22:56 +0300)]
Use config_GetCacheDir internally
Christophe Mutricy [Tue, 6 May 2008 19:51:39 +0000 (20:51 +0100)]
Oups the nynorsk l10n haven't arrived yet
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
Rafaël Carré [Tue, 6 May 2008 18:23:03 +0000 (20:23 +0200)]
Fix VLC.app target
Ilkka Ollakka [Tue, 6 May 2008 18:11:41 +0000 (21:11 +0300)]
Adding some forgotten return-statements and removing some commented-out code.
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>
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.
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
Felix Paul Kühne [Tue, 6 May 2008 15:52:06 +0000 (17:52 +0200)]
use PL_**LOCK instead of vlc_mutex_lock
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
Rémi Duraffort [Tue, 6 May 2008 12:49:08 +0000 (14:49 +0200)]
Less information when compiling with compile
Rémi Duraffort [Tue, 6 May 2008 12:25:52 +0000 (14:25 +0200)]
Print less information about the compilation when using make.pl
Rafaël Carré [Tue, 6 May 2008 11:11:23 +0000 (13:11 +0200)]
Check malloc return value
Rafaël Carré [Tue, 6 May 2008 09:25:58 +0000 (11:25 +0200)]
mosaic: Free string variables after using them
Jean-Paul Saman [Tue, 6 May 2008 08:57:09 +0000 (10:57 +0200)]
Fix compiler warning in fbosd.c
Jean-Paul Saman [Tue, 6 May 2008 08:14:23 +0000 (10:14 +0200)]
Remove dead code.
Jean-Paul Saman [Tue, 6 May 2008 08:04:51 +0000 (10:04 +0200)]
Cleanup and add workaround for FPGA bug.
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>
Rémi Denis-Courmont [Mon, 5 May 2008 20:55:12 +0000 (23:55 +0300)]
SSL certificates are in /etc, not in /usr/share
Rémi Denis-Courmont [Mon, 5 May 2008 20:53:12 +0000 (23:53 +0300)]
Add config_GetConfDir
Rémi Denis-Courmont [Mon, 5 May 2008 20:33:25 +0000 (23:33 +0300)]
config_GetConfigDir -> config_GetUserConfDir
Rémi Denis-Courmont [Mon, 5 May 2008 20:30:53 +0000 (23:30 +0300)]
Hide psz_(cache|config|data)dir
Rémi Denis-Courmont [Mon, 5 May 2008 20:16:50 +0000 (23:16 +0300)]
Use config_Get*Dir
Rémi Denis-Courmont [Mon, 5 May 2008 20:09:04 +0000 (23:09 +0300)]
Export config_Get*Dir
Rémi Denis-Courmont [Mon, 5 May 2008 19:51:21 +0000 (22:51 +0300)]
Inline config_GetUserDir
Rémi Denis-Courmont [Mon, 5 May 2008 19:47:30 +0000 (22:47 +0300)]
Don't duplicate getenv("HOME")
Rémi Denis-Courmont [Mon, 5 May 2008 19:42:11 +0000 (22:42 +0300)]
Simplify Win32 GetDir, and use the proper header files
Rémi Denis-Courmont [Mon, 5 May 2008 19:35:18 +0000 (22:35 +0300)]
Use getpwuid_r - thread safety
Rémi Denis-Courmont [Mon, 5 May 2008 19:17:20 +0000 (22:17 +0300)]
The input_items array is private data.
Hide it before someone thinks (s)he can use it without locking libvlc.
Rémi Denis-Courmont [Mon, 5 May 2008 20:21:23 +0000 (23:21 +0300)]
Fix warning
Rémi Denis-Courmont [Mon, 5 May 2008 20:14:19 +0000 (23:14 +0300)]
Do not re-invent strcpy
Rémi Denis-Courmont [Mon, 5 May 2008 19:15:54 +0000 (22:15 +0300)]
Remove unused variable
Rafaël Carré [Mon, 5 May 2008 20:14:22 +0000 (22:14 +0200)]
s/URI/location/ to comply to the spec
Rafaël Carré [Mon, 5 May 2008 20:10:45 +0000 (22:10 +0200)]
Read the correct type from the vlc value - fixes #1569
Rafaël Carré [Mon, 5 May 2008 20:00:34 +0000 (22:00 +0200)]
Avoid deadlocking: refs #1566
Rafaël Carré [Mon, 5 May 2008 19:36:40 +0000 (21:36 +0200)]
Use strrchr()
Rafaël Carré [Mon, 5 May 2008 19:26:18 +0000 (21:26 +0200)]
ncurses: use --color option
Rafaël Carré [Mon, 5 May 2008 18:57:25 +0000 (20:57 +0200)]
DBus: Round volume to nearest integer - fixes #1561
Rémi Denis-Courmont [Mon, 5 May 2008 16:50:11 +0000 (19:50 +0300)]
Fontconfig: compiler warning
Rafaël Carré [Mon, 5 May 2008 15:33:40 +0000 (17:33 +0200)]
Fix memleak
Rafaël Carré [Mon, 5 May 2008 15:24:37 +0000 (17:24 +0200)]
Fix es format leaking in live555
Rafaël Carré [Mon, 5 May 2008 13:06:47 +0000 (15:06 +0200)]
Forgotten in
fd84d89ba : fix building without spinlocks
Rafaël Carré [Mon, 5 May 2008 12:30:54 +0000 (14:30 +0200)]
Fix memory leak in dummy input
Rafaël Carré [Mon, 5 May 2008 11:56:08 +0000 (13:56 +0200)]
Actually free the data
Rafaël Carré [Mon, 5 May 2008 11:44:49 +0000 (13:44 +0200)]
network/error.c has been removed
Rafaël Carré [Mon, 5 May 2008 09:40:04 +0000 (11:40 +0200)]
Do not leak 1 byte per variable created
Rafaël Carré [Mon, 5 May 2008 09:33:21 +0000 (11:33 +0200)]
Do not leak the object name
Rafaël Carré [Mon, 5 May 2008 09:31:16 +0000 (11:31 +0200)]
Do not leak the global libvlc pointer
Rafaël Carré [Mon, 5 May 2008 09:10:48 +0000 (11:10 +0200)]
Fix leaking of psz_object_name
Rafaël Carré [Mon, 5 May 2008 08:41:07 +0000 (10:41 +0200)]
Simplify executable name retrieval and fix a memory leak
Rafaël Carré [Mon, 5 May 2008 07:51:44 +0000 (09:51 +0200)]
Remove a memleak
Rafaël Carré [Mon, 5 May 2008 07:51:07 +0000 (09:51 +0200)]
Use the verbose variable, over the private i_verbose member
Rafaël Carré [Mon, 5 May 2008 07:50:30 +0000 (09:50 +0200)]
Do not duplicate potentially NULL strings
Rafaël Carré [Mon, 5 May 2008 07:41:20 +0000 (09:41 +0200)]
Do not duplicate NULL strings
Rafaël Carré [Mon, 5 May 2008 07:29:24 +0000 (09:29 +0200)]
i_verbose has been privatized
Rémi Denis-Courmont [Sun, 4 May 2008 19:11:03 +0000 (22:11 +0300)]
Remove unused parameter
Rémi Denis-Courmont [Sun, 4 May 2008 19:08:59 +0000 (22:08 +0300)]
Remove unused parameter
Rémi Denis-Courmont [Sun, 4 May 2008 19:07:52 +0000 (22:07 +0300)]
Fix memleak on Windows, fix locale on Linux
Rémi Denis-Courmont [Sun, 4 May 2008 19:00:51 +0000 (22:00 +0300)]
XDG code factorization
Rémi Denis-Courmont [Sun, 4 May 2008 18:39:05 +0000 (21:39 +0300)]
No need to lookup i_verbose. The core does it anyway.
Rémi Denis-Courmont [Sun, 4 May 2008 18:36:25 +0000 (21:36 +0300)]
Privatize the stats computer
Rémi Denis-Courmont [Sun, 4 May 2008 18:36:09 +0000 (21:36 +0300)]
Don't use libvlc->b_color
Rémi Denis-Courmont [Sun, 4 May 2008 18:17:04 +0000 (21:17 +0300)]
Privatize psz_configfile