vlc.git
13 years agoFix compiler warnings.
Jean-Paul Saman [Sat, 10 May 2008 18:00:44 +0000 (20:00 +0200)]
Fix compiler warnings.

13 years agoDon't override original pointer when realloc fails.
Jean-Paul Saman [Sat, 10 May 2008 17:53:41 +0000 (19:53 +0200)]
Don't override original pointer when realloc fails.

13 years agoCheck malloc return value and cleanup if allocation failed.
Jean-Paul Saman [Sat, 10 May 2008 17:49:29 +0000 (19:49 +0200)]
Check malloc return value and cleanup if allocation failed.

13 years agoCheck malloc return value or risk overwritting not allocated memory.
Jean-Paul Saman [Sat, 10 May 2008 17:44:41 +0000 (19:44 +0200)]
Check malloc return value or risk overwritting not allocated memory.

13 years agolibvlc: add subtitle file (*.srt...) handling
Tanguy Krotoff [Wed, 7 May 2008 01:52:51 +0000 (03:52 +0200)]
libvlc: add subtitle file (*.srt...) handling

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
13 years agoDon't look for plugins from CWD. Also don't leak in case of errors.
Rémi Denis-Courmont [Sat, 10 May 2008 17:46:11 +0000 (20:46 +0300)]
Don't look for plugins from CWD. Also don't leak in case of errors.

13 years agovlc: set the plugin-path explicitly
Rémi Denis-Courmont [Sat, 10 May 2008 17:45:29 +0000 (20:45 +0300)]
vlc: set the plugin-path explicitly

So we don't need the current working directory hack to run VLC from the
build tree. As an added bonus, we can now run VLC from its build tree
even if the current working directory is not $(top_builddir).

13 years agoAnother Makefile fix
Rémi Denis-Courmont [Sat, 10 May 2008 17:36:34 +0000 (20:36 +0300)]
Another Makefile fix

13 years agoFixed error handling in function
Miguel Angel Cabrera Moya [Thu, 8 May 2008 20:43:00 +0000 (22:43 +0200)]
Fixed error handling in function

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
13 years agoTypo
Rémi Denis-Courmont [Sat, 10 May 2008 17:17:41 +0000 (20:17 +0300)]
Typo

13 years agoDo not wander twice in the same subdir - fix distcheck
Rémi Denis-Courmont [Sat, 10 May 2008 17:16:58 +0000 (20:16 +0300)]
Do not wander twice in the same subdir - fix distcheck

13 years agoDo not touch the always-on-top when going fullscreen
Rafaël Carré [Sat, 10 May 2008 16:19:42 +0000 (18:19 +0200)]
Do not touch the always-on-top when going fullscreen

It needs to be done by the GUI only

13 years agoKill further I64C
Rémi Denis-Courmont [Sat, 10 May 2008 16:19:06 +0000 (19:19 +0300)]
Kill further I64C

I think I'm going to become stricter about NOT merging out-of-sync
patches

13 years agoDistribute data files regardless of features set
Rémi Denis-Courmont [Sat, 10 May 2008 15:52:30 +0000 (18:52 +0300)]
Distribute data files regardless of features set

Installation that needs to be disabled, not distribution!

13 years agoRemove any tests that requires external networking.
Rémi Denis-Courmont [Sat, 10 May 2008 15:36:00 +0000 (18:36 +0300)]
Remove any tests that requires external networking.

Breaks distcheck, no thanks.

13 years agoautomake: Don't run `make install` for VLC.app.
Pierre d'Herbemont [Sat, 10 May 2008 14:47:28 +0000 (16:47 +0200)]
automake: Don't run `make install` for VLC.app.

13 years agoUpdated libxml2 to 2.6.32
Felix Paul Kühne [Sat, 10 May 2008 14:11:02 +0000 (16:11 +0200)]
Updated libxml2 to 2.6.32

Download it from ganesh as their mirror is (your description here)

13 years agoFix compilation on != darwin, beos, win32, linux
Rafaël Carré [Sat, 10 May 2008 12:41:01 +0000 (14:41 +0200)]
Fix compilation on != darwin, beos, win32, linux

Fix [3e1fea390e453b25f50d1e4308b80a4a962b8564]

13 years agoFactorize video-on-top disabling while in fullscreen
Rafaël Carré [Sat, 10 May 2008 12:11:18 +0000 (14:11 +0200)]
Factorize video-on-top disabling while in fullscreen

13 years agoDisable video-on-top on win32 when going fullscreen
Rafaël Carré [Sat, 10 May 2008 12:03:40 +0000 (14:03 +0200)]
Disable video-on-top on win32 when going fullscreen

Fix #1227

13 years agoTypo: disable always-on-top when going fullscreen
Rafaël Carré [Sat, 10 May 2008 11:40:04 +0000 (13:40 +0200)]
Typo: disable always-on-top when going fullscreen

13 years agoDBus: Play rewinds at the beginning if there is an active input
Rafaël Carré [Sat, 10 May 2008 10:50:00 +0000 (12:50 +0200)]
DBus: Play rewinds at the beginning if there is an active input

Fix #1566

13 years agoRemove message unused "queue" parameter
Rémi Denis-Courmont [Sat, 10 May 2008 09:57:12 +0000 (12:57 +0300)]
Remove message unused "queue" parameter

There is only one queue at the moment, and if someone wants multiple
queues, it's probably not a good idea to hard-code queues as integers.

13 years agoMove some internal message stuff to src/
Rémi Denis-Courmont [Sat, 10 May 2008 09:29:25 +0000 (12:29 +0300)]
Move some internal message stuff to src/

13 years agoCompile fix
Rémi Denis-Courmont [Sat, 10 May 2008 09:28:04 +0000 (12:28 +0300)]
Compile fix

13 years agoBuild (linux|not)_specific.c as appropriate
Rémi Denis-Courmont [Sat, 10 May 2008 08:33:00 +0000 (11:33 +0300)]
Build (linux|not)_specific.c as appropriate

13 years agoAdd linux_specific.c + disabled code for libvlc path determination
Rémi Denis-Courmont [Sat, 10 May 2008 08:32:02 +0000 (11:32 +0300)]
Add linux_specific.c + disabled code for libvlc path determination

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