]> git.sesse.net Git - vlc/log
vlc
16 years agolibvlc: add functions libvlc_get_version() and others
Tanguy Krotoff [Sun, 30 Mar 2008 14:57:50 +0000 (16:57 +0200)]
libvlc: add functions libvlc_get_version() and others

Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
16 years agoplaylist: Use PL_LOCK and PL_UNLOCK.
Pierre d'Herbemont [Sun, 30 Mar 2008 15:08:18 +0000 (17:08 +0200)]
playlist: Use PL_LOCK and PL_UNLOCK.

16 years agoplaylist: Use vlc_object_alive().
Pierre d'Herbemont [Sun, 30 Mar 2008 14:48:58 +0000 (16:48 +0200)]
playlist: Use vlc_object_alive().

We can't do what is advised in the documentation of vlc_object_alive(), but we try to stay close enough of it.

16 years agoCheck cond_wait() return value - Fix a deadlock
Rafaël Carré [Sun, 30 Mar 2008 14:43:54 +0000 (16:43 +0200)]
Check cond_wait() return value - Fix a deadlock

Remove useless variable

16 years agoDo not mix time() and mdate()
Rafaël Carré [Sun, 30 Mar 2008 11:23:42 +0000 (13:23 +0200)]
Do not mix time() and mdate()

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
16 years agosmall adjustment on decoder/encoder fmt_in/out for new_video_filter
Ilkka Ollakka [Fri, 28 Mar 2008 22:25:19 +0000 (00:25 +0200)]
small adjustment on decoder/encoder fmt_in/out for new_video_filter

16 years agoCosmetic fix
Rémi Denis-Courmont [Sun, 30 Mar 2008 14:30:41 +0000 (17:30 +0300)]
Cosmetic fix

16 years agocmake: media_descriptor->media media_instance->media_player.
Pierre d'Herbemont [Sun, 30 Mar 2008 14:20:27 +0000 (16:20 +0200)]
cmake: media_descriptor->media media_instance->media_player.

16 years agoUse var_AcquireMutex for the "libvlc" lock
Rémi Denis-Courmont [Sun, 30 Mar 2008 14:14:47 +0000 (17:14 +0300)]
Use var_AcquireMutex for the "libvlc" lock

16 years agoDo NOT destroy the "libvlc"/global/bank/whatever lock variable.
Rémi Denis-Courmont [Sun, 30 Mar 2008 14:05:55 +0000 (17:05 +0300)]
Do NOT destroy the "libvlc"/global/bank/whatever lock variable.

The whole point of a global lock is that it is... global. Destroying it
every time it's released is severe brain damage, as we end up taking a
different lock all the time (or worse destroying the lock while another
threads is competing for it).

16 years ago*Partially* fix the module bank initialization serialization
Rémi Denis-Courmont [Sun, 30 Mar 2008 14:02:23 +0000 (17:02 +0300)]
*Partially* fix the module bank initialization serialization

We should really keep the global "libvlc" lock while initializing the
modules bank. Otherwise, if a second instance is created while the
first one is initializing, it may get an incomplete bank. This commit
addresses the problem w.r.t. the "main" module - only.

16 years agoRemove dummy condition - looks like a cut&paste accident
Rémi Denis-Courmont [Sun, 30 Mar 2008 13:47:47 +0000 (16:47 +0300)]
Remove dummy condition - looks like a cut&paste accident

16 years agoUse p_libvlc_global rather than libvlc_global directly
Rémi Denis-Courmont [Sun, 30 Mar 2008 13:46:30 +0000 (16:46 +0300)]
Use p_libvlc_global rather than libvlc_global directly

16 years agoRemove HTTPD object type
Rémi Denis-Courmont [Sun, 30 Mar 2008 13:35:31 +0000 (16:35 +0300)]
Remove HTTPD object type

16 years agoLink xvmc vout with libXxf86vm when available
Rafaël Carré [Sun, 30 Mar 2008 13:54:33 +0000 (15:54 +0200)]
Link xvmc vout with libXxf86vm when available

16 years agoDocument object memory layoyt
Rémi Denis-Courmont [Sun, 30 Mar 2008 08:42:52 +0000 (11:42 +0300)]
Document object memory layoyt

16 years agoInterface to delay subtitles and audio. Most of ##1491
Jean-Baptiste Kempf [Sun, 30 Mar 2008 03:42:48 +0000 (20:42 -0700)]
Interface to delay subtitles and audio. Most of ##1491

16 years agoStart of the work for the audio/video/subs synchronisation
Jean-Baptiste Kempf [Sun, 30 Mar 2008 02:08:07 +0000 (19:08 -0700)]
Start of the work for the audio/video/subs synchronisation

16 years agolibvlc: rename libvlc_media_descriptor to libvlc_media and libvlc_media_instance...
Pierre d'Herbemont [Sun, 30 Mar 2008 01:59:32 +0000 (03:59 +0200)]
libvlc: rename libvlc_media_descriptor to libvlc_media and libvlc_media_instance to libvlc_media_player.

16 years agoReduce Space in effects UI.
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:39:04 +0000 (18:39 -0700)]
Reduce Space in effects UI.

16 years agoNo need for FFmpeg protocols.
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:18:17 +0000 (18:18 -0700)]
No need for FFmpeg protocols.

16 years agoGood location.
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:17:27 +0000 (18:17 -0700)]
Good location.

16 years agoRevert "ffmpeg RTSP Windows patch -- unsupported error message"
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:17:06 +0000 (18:17 -0700)]
Revert "ffmpeg RTSP Windows patch -- unsupported error message"

Wrong dir

This reverts commit f11a132c4c66b8c1dce324578a5b2081a687d22c.

16 years agoSmall UI fix.
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:09:28 +0000 (18:09 -0700)]
Small UI fix.

16 years agomedia_list.c: Fix crash showed by the new testapi tests.
Pierre d'Herbemont [Sun, 30 Mar 2008 00:59:26 +0000 (01:59 +0100)]
media_list.c: Fix crash showed by the new testapi tests.

16 years agoAdd tests for media list.
Lukas Durfina [Fri, 28 Mar 2008 19:40:44 +0000 (20:40 +0100)]
Add tests for media list.

Signed-off-by: Pierre d'Herbemont <pdherbemont@free.fr>
16 years agoRevert "libvlc: Wait for input end."
Pierre d'Herbemont [Sun, 30 Mar 2008 00:36:26 +0000 (01:36 +0100)]
Revert "libvlc: Wait for input end."

This reverts commit 1dfd50c2ad27eba42ab4d39b84f9d04e6fc4d259.
This is no needed of such a hack if there is no circular dependency between input and vout and if the input are properly released.

16 years agotestapi: Remove the sleep() hack.
Pierre d'Herbemont [Sun, 30 Mar 2008 00:34:35 +0000 (01:34 +0100)]
testapi: Remove the sleep() hack.

16 years agovideo_output: Don't keep the input around for a long time in RunThread.
Pierre d'Herbemont [Sun, 30 Mar 2008 00:33:39 +0000 (01:33 +0100)]
video_output: Don't keep the input around for a long time in RunThread.

Else there is a circular dependency between the vout that yield() the input, where the vout is also an input child. This should fix properly the media_instance() tests.

16 years agostream: No use to vlc_object_yield() and object that create ourslef, and that a race...
Pierre d'Herbemont [Sun, 30 Mar 2008 00:29:26 +0000 (01:29 +0100)]
stream: No use to vlc_object_yield() and object that create ourslef, and that a race could possibly corrupt in case of bad usage.

16 years agoinput: retain the input item.
Pierre d'Herbemont [Sat, 29 Mar 2008 21:38:06 +0000 (22:38 +0100)]
input: retain the input item.

16 years agoobjects: Export vlc_object_dump() to debug.
Pierre d'Herbemont [Sat, 29 Mar 2008 21:31:36 +0000 (22:31 +0100)]
objects: Export vlc_object_dump() to debug.

16 years agostats: Move the stat to libvlc instead of the playlist. As stated in the code it...
Pierre d'Herbemont [Sat, 29 Mar 2008 20:53:12 +0000 (21:53 +0100)]
stats: Move the stat to libvlc instead of the playlist. As stated in the code it is not playlist related.

16 years agolibvlc: Wait for input end.
Pierre d'Herbemont [Sat, 29 Mar 2008 20:20:55 +0000 (21:20 +0100)]
libvlc: Wait for input end.

16 years agomedia_instance: Use input_CreateThread() to have a stop that is synchronous.
Pierre d'Herbemont [Sat, 29 Mar 2008 16:44:32 +0000 (17:44 +0100)]
media_instance: Use input_CreateThread() to have a stop that is synchronous.

16 years agoMakefile -- add ffmpeg win32 RTSP patch
Mark Moriarty [Sat, 29 Mar 2008 14:26:23 +0000 (10:26 -0400)]
Makefile -- add ffmpeg win32 RTSP patch

16 years agoffmpeg RTSP Windows patch -- unsupported error message
Mark Moriarty [Sat, 29 Mar 2008 14:15:02 +0000 (10:15 -0400)]
ffmpeg RTSP Windows patch -- unsupported error message

16 years agosomewhat fix VLC-release.app: (well, isn't distributable yet)
Felix Paul Kühne [Sat, 29 Mar 2008 14:33:33 +0000 (15:33 +0100)]
somewhat fix VLC-release.app: (well, isn't distributable yet)

16 years agoRemove some global object-specific hacks
Rémi Denis-Courmont [Sat, 29 Mar 2008 14:13:49 +0000 (16:13 +0200)]
Remove some global object-specific hacks

16 years agoroot object: use vlc_custom_create
Rémi Denis-Courmont [Sat, 29 Mar 2008 13:59:35 +0000 (15:59 +0200)]
root object: use vlc_custom_create

16 years agoInput and playlist: use custom object
Rémi Denis-Courmont [Sat, 29 Mar 2008 13:54:14 +0000 (15:54 +0200)]
Input and playlist: use custom object

16 years agoes_out: is not a vlc_object_t.
Pierre d'Herbemont [Sat, 29 Mar 2008 13:48:25 +0000 (14:48 +0100)]
es_out: is not a vlc_object_t.

16 years agodescription: Fix compilation.
Pierre d'Herbemont [Sat, 29 Mar 2008 13:32:47 +0000 (14:32 +0100)]
description: Fix compilation.

16 years agoes_out: Put a msg_Dbg in input_EsOutDelete.
Pierre d'Herbemont [Sat, 29 Mar 2008 13:28:43 +0000 (14:28 +0100)]
es_out: Put a msg_Dbg in input_EsOutDelete.

16 years agodescription: A buggy case needs an assert.
Pierre d'Herbemont [Sat, 29 Mar 2008 13:09:36 +0000 (14:09 +0100)]
description: A buggy case needs an assert.

16 years agoFix size of VOD objects
Rémi Denis-Courmont [Sat, 29 Mar 2008 11:58:49 +0000 (13:58 +0200)]
Fix size of VOD objects

16 years agoAssert that allocate object size makes sense
Rémi Denis-Courmont [Sat, 29 Mar 2008 11:55:49 +0000 (13:55 +0200)]
Assert that allocate object size makes sense

16 years agoFix off by one
Rafaël Carré [Sat, 29 Mar 2008 11:12:43 +0000 (12:12 +0100)]
Fix off by one

16 years agoRemove unused #include
Rémi Denis-Courmont [Sat, 29 Mar 2008 11:06:24 +0000 (13:06 +0200)]
Remove unused #include

16 years agoCreate OSD menu as a custom object
Rémi Denis-Courmont [Sat, 29 Mar 2008 11:06:01 +0000 (13:06 +0200)]
Create OSD menu as a custom object

16 years agoCreate VLM as a custom object
Rémi Denis-Courmont [Sat, 29 Mar 2008 11:02:07 +0000 (13:02 +0200)]
Create VLM as a custom object

16 years agoRemove useless #include
Rémi Denis-Courmont [Sat, 29 Mar 2008 10:57:03 +0000 (12:57 +0200)]
Remove useless #include

16 years agoMissing #include
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:30:46 +0000 (11:30 +0200)]
Missing #include

16 years agoFix warnings
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:27:56 +0000 (11:27 +0200)]
Fix warnings

16 years agoRemove META_ENGINE object type
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:24:33 +0000 (11:24 +0200)]
Remove META_ENGINE object type

16 years agoRemove stats type - not used anywhere
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:19:39 +0000 (11:19 +0200)]
Remove stats type - not used anywhere

16 years agoRemove XML object type
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:18:33 +0000 (11:18 +0200)]
Remove XML object type

16 years agoRemove SD object type
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:16:41 +0000 (11:16 +0200)]
Remove SD object type

16 years agoRemove SPU type
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:10:35 +0000 (11:10 +0200)]
Remove SPU type

16 years agoRemove useless #include
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:05:29 +0000 (11:05 +0200)]
Remove useless #include

16 years agoRemove VOD object type - not actually needed
Rémi Denis-Courmont [Sat, 29 Mar 2008 09:04:54 +0000 (11:04 +0200)]
Remove VOD object type - not actually needed

16 years agoRemove ITEM type - not used anywhere
Rémi Denis-Courmont [Sat, 29 Mar 2008 08:59:27 +0000 (10:59 +0200)]
Remove ITEM type - not used anywhere

16 years agoRevert "prevent #1312 from occuring (refs #1312)"
Rémi Denis-Courmont [Sat, 29 Mar 2008 08:37:22 +0000 (10:37 +0200)]
Revert "prevent #1312 from occuring (refs #1312)"

This reverts commit 69d572ca8a6bc6f9de85ed471fbb30e430fb0fe2.
It's not an issue with sout-keep alone. The issue shows up if using
both sout-keep and #gather, and there is no easy way for a stream
object to know what its upstream stream (if any) is. Hence, let users
shoot themselves in the feet if they want, and otherwise assume that
people don't use #gather _in_front_ of #display.

16 years agoFix es_format_Copy prototype
Rémi Denis-Courmont [Fri, 28 Mar 2008 17:06:15 +0000 (19:06 +0200)]
Fix es_format_Copy prototype

16 years agoSmall improvements on the TelX bar.
Jean-Baptiste Kempf [Sat, 29 Mar 2008 05:23:13 +0000 (22:23 -0700)]
Small improvements on the TelX bar.

16 years agoDetect the spu presence in the IM. Deactivate the teletext until any
Jean-Baptiste Kempf [Sat, 29 Mar 2008 05:08:49 +0000 (22:08 -0700)]
Detect the spu presence in the IM. Deactivate the teletext until any
good detection exist.

16 years agoHopefully fix the play button issue.
Jean-Baptiste Kempf [Sat, 29 Mar 2008 04:15:01 +0000 (21:15 -0700)]
Hopefully fix the play button issue.
ILEoo, any idea why ?

16 years agoDo not crash in vout destruction when exiting
Rafaël Carré [Sat, 29 Mar 2008 02:24:17 +0000 (03:24 +0100)]
Do not crash in vout destruction when exiting

16 years agostream: Do not yield and then release. It is unuseful here.
Pierre d'Herbemont [Sat, 29 Mar 2008 00:02:46 +0000 (01:02 +0100)]
stream: Do not yield and then release. It is unuseful here.

Because there is no proper convention, there is no reason why the object couldn't be detached. We would need to vlc_object_find the input to be sure there is no problem. Let's assume for now that the input creates the access and is responsible for it.

16 years agomedia_instance: Forgotten lock().
Pierre d'Herbemont [Fri, 28 Mar 2008 23:25:55 +0000 (00:25 +0100)]
media_instance: Forgotten lock().

16 years agoinput: DestroyThread()'s content should happen in the input destructor.
Pierre d'Herbemont [Fri, 28 Mar 2008 23:22:21 +0000 (00:22 +0100)]
input: DestroyThread()'s content should happen in the input destructor.

16 years agofix testapi test: libvlc_instance_(play|pause|stop) are asynchronous, so wait for...
Filippo Carone [Sat, 29 Mar 2008 00:42:13 +0000 (01:42 +0100)]
fix testapi test: libvlc_instance_(play|pause|stop) are asynchronous, so wait for them

16 years agoAvoid memleak and use of uninitiliazed pointer
Christophe Mutricy [Sat, 29 Mar 2008 00:06:11 +0000 (00:06 +0000)]
Avoid memleak and use of uninitiliazed pointer

16 years agounit tests update
Filippo Carone [Fri, 28 Mar 2008 23:37:54 +0000 (00:37 +0100)]
unit tests update

16 years agofix jvlc arguments
Filippo Carone [Fri, 28 Mar 2008 23:34:38 +0000 (00:34 +0100)]
fix jvlc arguments

16 years agoReplace define by enum
Jean-Baptiste Kempf [Fri, 28 Mar 2008 23:29:26 +0000 (16:29 -0700)]
Replace define by enum

16 years agoUse typedef around vlc_key enum
Jean-Baptiste Kempf [Fri, 28 Mar 2008 23:14:42 +0000 (16:14 -0700)]
Use typedef around vlc_key enum

16 years agoReplace big define by enum in vlc_keys.h
Jean-Baptiste Kempf [Fri, 28 Mar 2008 22:23:04 +0000 (15:23 -0700)]
Replace big define by enum in vlc_keys.h

16 years agoinput: No need to call detach() prior to release() in those cases.
Pierre d'Herbemont [Fri, 28 Mar 2008 21:56:11 +0000 (22:56 +0100)]
input: No need to call detach() prior to release() in those cases.

16 years agomedia_instance: Fix a typo.
Pierre d'Herbemont [Fri, 28 Mar 2008 21:53:16 +0000 (22:53 +0100)]
media_instance: Fix a typo.

16 years agoSlovenian translation update by Matej Urbančič
Christophe Mutricy [Fri, 28 Mar 2008 17:45:13 +0000 (17:45 +0000)]
Slovenian translation update by Matej Urbančič

16 years agotestapi: Now that relative modules work in a nearly unified manner on all platform...
Pierre d'Herbemont [Fri, 28 Mar 2008 17:47:08 +0000 (18:47 +0100)]
testapi: Now that relative modules work in a nearly unified manner on all platform, no need to put that much plugin path.

16 years agomodules: On Windows, Mac OS X and BeOS, search for modules, in the current directory...
Pierre d'Herbemont [Fri, 28 Mar 2008 17:43:47 +0000 (18:43 +0100)]
modules: On Windows, Mac OS X and BeOS, search for modules, in the current directory, and next to the executable.

I would appreciate review.

16 years agoprevent #1312 from occuring (refs #1312)
Rémi Denis-Courmont [Fri, 28 Mar 2008 16:49:01 +0000 (18:49 +0200)]
prevent #1312 from occuring (refs #1312)

16 years agocleanup
Rémi Denis-Courmont [Fri, 28 Mar 2008 16:47:43 +0000 (18:47 +0200)]
cleanup

16 years agoTypo in configure.ac
Rémi Duraffort [Fri, 28 Mar 2008 16:14:13 +0000 (17:14 +0100)]
Typo in configure.ac

16 years agomodule: Fix ':' usage and more largely previous commit.
Pierre d'Herbemont [Fri, 28 Mar 2008 15:52:53 +0000 (16:52 +0100)]
module: Fix ':' usage and more largely previous commit.

16 years agomodule: Make sure we can escape ':' correctly.
Pierre d'Herbemont [Fri, 28 Mar 2008 15:42:47 +0000 (16:42 +0100)]
module: Make sure we can escape ':' correctly.

16 years agoinclude: Use libvlc_vlm in doxygen instead of VLM.
Pierre d'Herbemont [Fri, 28 Mar 2008 13:41:24 +0000 (14:41 +0100)]
include: Use libvlc_vlm in doxygen instead of VLM.

16 years agoinclude: Cleanup libvlc headers doxygen.
Pierre d'Herbemont [Fri, 28 Mar 2008 13:39:49 +0000 (14:39 +0100)]
include: Cleanup libvlc headers doxygen.

16 years agomodule: Use PATH_SEP instead of ':'.
Pierre d'Herbemont [Fri, 28 Mar 2008 12:30:36 +0000 (13:30 +0100)]
module: Use PATH_SEP instead of ':'.

16 years agoinput: Remove a comment that no one seems to understand.
Pierre d'Herbemont [Fri, 28 Mar 2008 12:18:39 +0000 (13:18 +0100)]
input: Remove a comment that no one seems to understand.

16 years agoFixed 'Blackout screens' on multi-screen setups
Felix Paul Kühne [Fri, 28 Mar 2008 11:47:44 +0000 (12:47 +0100)]
Fixed 'Blackout screens' on multi-screen setups

16 years agotestapi.c: Use ../../modules too.
Pierre d'Herbemont [Fri, 28 Mar 2008 11:22:46 +0000 (12:22 +0100)]
testapi.c: Use ../../modules too.

16 years agomodule: Allow multiple paths in --plugin-path (Separated by ':').
Pierre d'Herbemont [Fri, 28 Mar 2008 10:59:20 +0000 (11:59 +0100)]
module: Allow multiple paths in --plugin-path (Separated by ':').

16 years agoMMS: close access on network timeout
Rafaël Carré [Fri, 28 Mar 2008 09:45:25 +0000 (10:45 +0100)]
MMS: close access on network timeout

defaults to timeout on 5s (configurable) without data (there will be 10 tries before returning EOF)
fix some EOF return paths
check malloc()

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
16 years agocmake: Add src/misc/action.c.
Pierre d'Herbemont [Fri, 28 Mar 2008 09:49:05 +0000 (10:49 +0100)]
cmake: Add src/misc/action.c.

16 years agoinput: Make sure stat info are created before attaching to the parent, because stats_...
Pierre d'Herbemont [Fri, 28 Mar 2008 09:39:37 +0000 (10:39 +0100)]
input: Make sure stat info are created before attaching to the parent, because stats_ComputeGlobalStats() may vlc_list_find() the input before the stat have been initialized.

16 years agoUse KeyToString
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:59:05 +0000 (22:59 +0200)]
Use KeyToString

16 years agoRemove useless check
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:58:57 +0000 (22:58 +0200)]
Remove useless check