vlc.git
13 years agoI need another commit :)
Antoine Cellerier [Fri, 9 May 2008 22:33:49 +0000 (00:33 +0200)]
I need another commit :)

13 years agoUpdate my profile
Rafaël Carré [Fri, 9 May 2008 22:29:57 +0000 (00:29 +0200)]
Update my profile

13 years agoRevert "Fix memleak in mpga demuxer"
Rafaël Carré [Fri, 9 May 2008 22:16:28 +0000 (00:16 +0200)]
Revert "Fix memleak in mpga demuxer"

This reverts commit 9a90c961a6d1c670a9e282c99ea8da0ba7688eab.
This introduces double free
I tend to prefer a memleak as a race condition rather than a crash

13 years agoFix double free
Rafaël Carré [Fri, 9 May 2008 22:11:57 +0000 (00:11 +0200)]
Fix double free

13 years agoAdd some stuff (to test the buildbod post-receive hook)
Antoine Cellerier [Fri, 9 May 2008 22:11:04 +0000 (00:11 +0200)]
Add some stuff (to test the buildbod post-receive hook)

13 years agoFix memleak in mpga demuxer
Rafaël Carré [Fri, 9 May 2008 21:29:14 +0000 (23:29 +0200)]
Fix memleak in mpga demuxer

13 years agoDo not leak psz_demux
Rafaël Carré [Fri, 9 May 2008 21:11:52 +0000 (23:11 +0200)]
Do not leak psz_demux

13 years agoFix another memleak in ncurses
Rafaël Carré [Fri, 9 May 2008 21:05:05 +0000 (23:05 +0200)]
Fix another memleak in ncurses

13 years agoFix memory leaks in ncurses intf
Rafaël Carré [Fri, 9 May 2008 20:59:05 +0000 (22:59 +0200)]
Fix memory leaks in ncurses intf

13 years agoOSX GUI: Use "Fullscreen Video Device" instead of "Video Device" which is a bit confu...
Pavlov Konstantin [Fri, 9 May 2008 17:30:54 +0000 (21:30 +0400)]
OSX GUI: Use "Fullscreen Video Device" instead of "Video Device" which is a bit confusing.

13 years agofix Makefile.am
Rémi Denis-Courmont [Fri, 9 May 2008 16:12:45 +0000 (19:12 +0300)]
fix Makefile.am

13 years agofix indentation.
Jean-Paul Saman [Fri, 9 May 2008 15:50:55 +0000 (17:50 +0200)]
fix indentation.

13 years agoFix broken code.
Jean-Paul Saman [Fri, 9 May 2008 15:39:37 +0000 (17:39 +0200)]
Fix broken code.

13 years agoCleanup alpha
Jean-Paul Saman [Fri, 9 May 2008 15:29:24 +0000 (17:29 +0200)]
Cleanup alpha

13 years agoCatch error case.
Jean-Paul Saman [Fri, 9 May 2008 14:57:19 +0000 (16:57 +0200)]
Catch error case.

13 years agoFix comment and indentation.
Jean-Paul Saman [Fri, 9 May 2008 14:23:56 +0000 (16:23 +0200)]
Fix comment and indentation.

13 years agoCleanup in transparant().
Jean-Paul Saman [Fri, 9 May 2008 14:13:08 +0000 (16:13 +0200)]
Cleanup in transparant().

13 years agosystem_VLCPath does not exist
Rémi Denis-Courmont [Fri, 9 May 2008 15:51:09 +0000 (18:51 +0300)]
system_VLCPath does not exist

13 years agoDon't install vlc-config.
Rémi Denis-Courmont [Fri, 9 May 2008 15:36:06 +0000 (18:36 +0300)]
Don't install vlc-config.

It does provide sufficient/useful infos for external build.
Use pkg-config vlc-plugin instead.

13 years agoThe normal include dir is also needed for vlc/vlc.h (curerntly)
Rémi Denis-Courmont [Fri, 9 May 2008 15:35:15 +0000 (18:35 +0300)]
The normal include dir is also needed for vlc/vlc.h (curerntly)

13 years agoUgly fix for httpd deadlock
Rémi Denis-Courmont [Fri, 9 May 2008 15:34:41 +0000 (18:34 +0300)]
Ugly fix for httpd deadlock

13 years agoQueueMsg: assert p_this
Rémi Denis-Courmont [Fri, 9 May 2008 15:05:24 +0000 (18:05 +0300)]
QueueMsg: assert p_this

(If you don't want to give an object, then use fprintf() really...)

13 years agodescription: we have an object, use it
Rémi Denis-Courmont [Fri, 9 May 2008 15:03:15 +0000 (18:03 +0300)]
description: we have an object, use it

13 years agoWe also need to check the non "conf::" case. Oops.
Rémi Denis-Courmont [Thu, 8 May 2008 20:39:23 +0000 (23:39 +0300)]
We also need to check the non "conf::" case. Oops.

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