vlc.git
11 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

11 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

11 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.

11 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

11 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.

11 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.

11 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 ?

11 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

11 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.

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

11 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.

11 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

11 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

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

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

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

11 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

11 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

11 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.

11 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.

11 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č

11 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.

11 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.

11 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)

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

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

11 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.

11 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.

11 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.

11 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.

11 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 ':'.

11 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.

11 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

11 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.

11 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 ':').

11 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>
11 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.

11 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.

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

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

11 years agoIgnore zsh completion generator binary
Rafaël Carré [Thu, 27 Mar 2008 20:45:39 +0000 (21:45 +0100)]
Ignore zsh completion generator binary

11 years agoFix megavideo lua demuxer
Rafaël Carré [Thu, 27 Mar 2008 20:43:37 +0000 (21:43 +0100)]
Fix megavideo lua demuxer

The '\n' was absent from the binary data, and several URLs wouldn't play properly
Simplify the decoding
Remove debug print()
Distribute the file

11 years agozsh helper : don't depend on zsh binary location
Rafaël Carré [Thu, 27 Mar 2008 20:33:04 +0000 (21:33 +0100)]
zsh helper : don't depend on zsh binary location

11 years agoDon't create an unused variable per action
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:42:34 +0000 (22:42 +0200)]
Don't create an unused variable per action

11 years agoRemove excess initializers
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:33:01 +0000 (22:33 +0200)]
Remove excess initializers

11 years agoRemove hotkeys "accounting" stuff.
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:26:54 +0000 (22:26 +0200)]
Remove hotkeys "accounting" stuff.

That was never written to (except by KeyActionCB that _that_ was never
invoked ever, and did not make sense). Note that, had it worked as it
probably was intended, this "accounting" data should have been kept
inside the hotkeys plugin, not the libvlc instance data anyhow.

11 years agoRemove ActionKeyCB - I really can't find any path to this code
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:23:40 +0000 (22:23 +0200)]
Remove ActionKeyCB - I really can't find any path to this code

11 years agohotkeys: use key-action
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:00:47 +0000 (22:00 +0200)]
hotkeys: use key-action

11 years agohotkeys: cleanup locking
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:10:57 +0000 (22:10 +0200)]
hotkeys: cleanup locking

11 years agoCMML: use key-action
Rémi Denis-Courmont [Thu, 27 Mar 2008 20:07:56 +0000 (22:07 +0200)]
CMML: use key-action

11 years agoaccess_filter_record: use key-action
Rémi Denis-Courmont [Wed, 26 Mar 2008 20:50:54 +0000 (22:50 +0200)]
access_filter_record: use key-action

11 years agoMKV: use key-action
Rémi Denis-Courmont [Wed, 26 Mar 2008 20:40:09 +0000 (22:40 +0200)]
MKV: use key-action

11 years agodvdnav: use key-action
Rémi Denis-Courmont [Wed, 26 Mar 2008 20:31:06 +0000 (22:31 +0200)]
dvdnav: use key-action

11 years agoaccess_filter_dump: use key-action
Rémi Denis-Courmont [Wed, 26 Mar 2008 20:23:19 +0000 (22:23 +0200)]
access_filter_dump: use key-action

11 years agoAdd key-action variable - automatically mapped action from key-pressed
Rémi Denis-Courmont [Wed, 26 Mar 2008 20:20:47 +0000 (22:20 +0200)]
Add key-action variable - automatically mapped action from key-pressed

So for, each hotkey callback had to lookup the hotkey table everytime
a key was pressed, which is fairly wasteful.

11 years agoRevert "ActionKeyCB: remove completely."
Rémi Denis-Courmont [Thu, 27 Mar 2008 18:03:05 +0000 (20:03 +0200)]
Revert "ActionKeyCB: remove completely."

This reverts commit a859dede77cff629f2f98b84ded198f492bc5222.

11 years agoActionKeyCB: remove completely.
Rémi Denis-Courmont [Thu, 27 Mar 2008 17:49:54 +0000 (19:49 +0200)]
ActionKeyCB: remove completely.

Turns out to be dead code.

11 years agohotkeys: make the ActionKeyCB O(1) w.r.t. the number of hotkeys
Rémi Denis-Courmont [Thu, 27 Mar 2008 16:34:06 +0000 (18:34 +0200)]
hotkeys: make the ActionKeyCB O(1) w.r.t. the number of hotkeys

11 years agoShip vlc-plugin.pc.in
Rémi Denis-Courmont [Thu, 27 Mar 2008 16:09:56 +0000 (18:09 +0200)]
Ship vlc-plugin.pc.in

11 years agoImplementing meta tag writing and cleaned a bit up
Felix Paul Kühne [Thu, 27 Mar 2008 14:08:14 +0000 (15:08 +0100)]
Implementing meta tag writing and cleaned a bit up

11 years agolua demuxer for megavideo.com
Rafaël Carré [Thu, 27 Mar 2008 11:44:02 +0000 (12:44 +0100)]
lua demuxer for megavideo.com

11 years agoReworked the Media Information panel
Felix Paul Kühne [Thu, 27 Mar 2008 11:25:33 +0000 (12:25 +0100)]
Reworked the Media Information panel

Nicer, easier to use, less memory consuming, faster and prepared for meta data editing.

11 years agoRemember to add people to THANKS. This is always nice.
Jean-Baptiste Kempf [Thu, 27 Mar 2008 07:32:38 +0000 (00:32 -0700)]
Remember to add people to THANKS. This is always nice.

11 years agoFix most of the Open Dialog resizing on linux Close #1446
Jean-Baptiste Kempf [Thu, 27 Mar 2008 07:25:31 +0000 (00:25 -0700)]
Fix most of the Open Dialog resizing on linux Close #1446
Patch by Lahiru Lakmal Priyadarshana with small modifications.

11 years agoChanging audio device can also make sense without any input
Jean-Baptiste Kempf [Thu, 27 Mar 2008 06:39:58 +0000 (23:39 -0700)]
Changing audio device can also make sense without any input

11 years agoTrailing spaces and comments.
Jean-Baptiste Kempf [Thu, 27 Mar 2008 06:32:23 +0000 (23:32 -0700)]
Trailing spaces and comments.

11 years agoAdd hotkey to cycle through audio devices
Dylan [Mon, 24 Mar 2008 15:04:49 +0000 (17:04 +0200)]
Add hotkey to cycle through audio devices

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoAdd Hotkey to cycle through audio devices
Dylan [Mon, 24 Mar 2008 12:26:50 +0000 (14:26 +0200)]
Add Hotkey to cycle through audio devices

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agotestapi: Minor cleanup.
Pierre d'Herbemont [Thu, 27 Mar 2008 02:30:18 +0000 (03:30 +0100)]
testapi: Minor cleanup.

11 years agotestapi.c: Fix a warning plus small clean up.
Pierre d'Herbemont [Thu, 27 Mar 2008 02:27:20 +0000 (03:27 +0100)]
testapi.c: Fix a warning plus small clean up.

11 years agosap: Set the sap announcer object name.
Pierre d'Herbemont [Thu, 27 Mar 2008 01:03:45 +0000 (02:03 +0100)]
sap: Set the sap announcer object name.

11 years agoDBus: remove unused macro, check memory allocation
Rafaël Carré [Thu, 27 Mar 2008 00:10:58 +0000 (01:10 +0100)]
DBus: remove unused macro, check memory allocation

11 years agoDbus control module: * Add the MprisVersion Method. * The MPRIS 1.0 implementation...
Mirsal Ennaime [Tue, 25 Mar 2008 02:43:27 +0000 (03:43 +0100)]
Dbus control module: * Add the MprisVersion Method. * The MPRIS 1.0 implementation is now complete.

Signed-off-by: Rafaël Carré <funman@videolan.org>
11 years agoUpdate POTFILES.in after addition and suppression of files
Christophe Mutricy [Thu, 27 Mar 2008 00:03:41 +0000 (00:03 +0000)]
Update POTFILES.in after addition and suppression of files

11 years agoDbus control module: * Simplify p_intf->p_sys->i_caps * Check capabilities on playlis...
Mirsal Ennaime [Thu, 20 Mar 2008 17:26:45 +0000 (18:26 +0100)]
Dbus control module: * Simplify p_intf->p_sys->i_caps * Check capabilities on playlist resize

Signed-off-by: Rafaël Carré <funman@videolan.org>
11 years agoFix a memory leak
Rafaël Carré [Wed, 26 Mar 2008 23:47:42 +0000 (00:47 +0100)]
Fix a memory leak

11 years agoServices discoveries: check memory allocation
Rafaël Carré [Wed, 26 Mar 2008 23:44:50 +0000 (00:44 +0100)]
Services discoveries: check memory allocation

11 years agoCheck memory allocation
Rafaël Carré [Wed, 26 Mar 2008 23:42:09 +0000 (00:42 +0100)]
Check memory allocation

11 years agofailing testapi test added
Filippo Carone [Wed, 26 Mar 2008 23:05:09 +0000 (00:05 +0100)]
failing testapi test added

11 years agowrite to tmpFile instead of /dev/dsp
Filippo Carone [Sun, 23 Mar 2008 16:22:16 +0000 (17:22 +0100)]
write to tmpFile instead of /dev/dsp

11 years agonew convenience constructor added
Filippo Carone [Sun, 23 Mar 2008 16:01:45 +0000 (17:01 +0100)]
new convenience constructor added

11 years agosap: Properly manage object memory.
Pierre d'Herbemont [Wed, 26 Mar 2008 22:56:18 +0000 (23:56 +0100)]
sap: Properly manage object memory.

Use an vlc_object_t destructor.
Don't use free, instead of vlc_object_release().

11 years agovlm: No need to vlc_object_kill() nor vlc_thread_join() in destructor.
Pierre d'Herbemont [Wed, 26 Mar 2008 22:55:48 +0000 (23:55 +0100)]
vlm: No need to vlc_object_kill() nor vlc_thread_join() in destructor.

11 years agoMozilla: fix compilation on OSX, where we don't use libX11
Rafaël Carré [Wed, 26 Mar 2008 22:54:37 +0000 (23:54 +0100)]
Mozilla: fix compilation on OSX, where we don't use libX11

11 years agotest: Add the new vlc headers.
Pierre d'Herbemont [Wed, 26 Mar 2008 21:22:49 +0000 (22:22 +0100)]
test: Add the new vlc headers.

11 years agosrc: Fix vlc/*.h headers distribution.
Pierre d'Herbemont [Wed, 26 Mar 2008 20:52:11 +0000 (21:52 +0100)]
src: Fix vlc/*.h headers distribution.

11 years agoinclude/vlc: vlc also includes this headers, so make sure vlc_common.h is included...
Pierre d'Herbemont [Wed, 26 Mar 2008 20:04:45 +0000 (21:04 +0100)]
include/vlc: vlc also includes this headers, so make sure vlc_common.h is included early enough.

11 years agomedia_descriptor: Remove an unused variable.
Pierre d'Herbemont [Wed, 26 Mar 2008 19:24:33 +0000 (20:24 +0100)]
media_descriptor: Remove an unused variable.

11 years agoFix memory leak
Rémi Denis-Courmont [Wed, 26 Mar 2008 19:10:56 +0000 (21:10 +0200)]
Fix memory leak

11 years agoFix memory leak
Rémi Denis-Courmont [Wed, 26 Mar 2008 18:58:46 +0000 (20:58 +0200)]
Fix memory leak

11 years agoinclude/vlc: Headers clean up.
Pierre d'Herbemont [Wed, 26 Mar 2008 18:51:08 +0000 (19:51 +0100)]
include/vlc: Headers clean up.

Now "#include <vlc/vlc.h>" defines all the definitions needed to use libvlc_*.

* New layout is the following:
vlc/common.h: Global definitions
vlc/deprecated.h: Deprecated stuff
vlc/libvlc_structures.h: Contains all libvlc_* structures.
vlc/libvlc_events.h: Contains libvlc_event_t structure.
vlc/libvlc.h: Contains all libvlc_* functions
vlc/libvlc_media_list.h: Contains all libvlc_media_list_* functions
vlc/libvlc_vlm.h: Contains all libvlc_vlm_* functions.
vlc/vlc.h: Use this header to use libvlc-control.dylib.

11 years agolibvlc: Remove all references to tag and dynamic media list.
Pierre d'Herbemont [Wed, 26 Mar 2008 17:56:47 +0000 (18:56 +0100)]
libvlc: Remove all references to tag and dynamic media list.

11 years agoMP4: do not nul time scale
Rémi Denis-Courmont [Wed, 26 Mar 2008 18:34:31 +0000 (20:34 +0200)]
MP4: do not nul time scale

Some MP4-knowledgeable dev (fenrir?) really should check that this is
not too restrictive a check.

11 years agoFix memleak
Rémi Denis-Courmont [Wed, 26 Mar 2008 18:20:13 +0000 (20:20 +0200)]
Fix memleak

11 years agoBunch of MP5 allocation failure checks
Rémi Denis-Courmont [Wed, 26 Mar 2008 18:15:27 +0000 (20:15 +0200)]
Bunch of MP5 allocation failure checks

11 years agovlc_modules_macros.h: Bump ABI version.
Pierre d'Herbemont [Wed, 26 Mar 2008 17:44:36 +0000 (18:44 +0100)]
vlc_modules_macros.h: Bump ABI version.

11 years agoLetf over from libvlc->playlist vout
Pierre d'Herbemont [Wed, 26 Mar 2008 16:35:25 +0000 (17:35 +0100)]
Letf over from libvlc->playlist vout

11 years agomacosx: avoid a crash if VLCIntf is NULL.
Pierre d'Herbemont [Wed, 26 Mar 2008 16:25:17 +0000 (17:25 +0100)]
macosx: avoid a crash if VLCIntf is NULL.

Note: This is completly crippled and can easily lead to some race condition. We need to re-think the whole modules to avoid those.

11 years agolibvlc: Move input_item array from playlist to libvlc.
Pierre d'Herbemont [Wed, 26 Mar 2008 16:22:00 +0000 (17:22 +0100)]
libvlc: Move input_item array from playlist to libvlc.

This avoids the circular dependency there is from playlist and input item, which creates a dead lock at exit.

11 years agomacosx: Attempt to avoid a crash. Note that this can't be working properly and could...
Pierre d'Herbemont [Wed, 26 Mar 2008 09:23:35 +0000 (10:23 +0100)]
macosx: Attempt to avoid a crash. Note that this can't be working properly and could create a rare race.