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

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

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

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

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

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

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

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

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

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

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

12 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

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

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

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

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

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

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

12 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

12 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

12 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

12 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

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

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

12 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

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

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

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

12 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

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

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

12 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

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

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

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

12 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

12 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

12 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

12 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

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

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

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

12 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

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

12 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>
12 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>
12 years agotestapi: Minor cleanup.
Pierre d'Herbemont [Thu, 27 Mar 2008 02:30:18 +0000 (03:30 +0100)]
testapi: Minor cleanup.

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

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

12 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

12 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>
12 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

12 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>
12 years agoFix a memory leak
Rafaël Carré [Wed, 26 Mar 2008 23:47:42 +0000 (00:47 +0100)]
Fix a memory leak

12 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

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

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

12 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

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

12 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().

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

12 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

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

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

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

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

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

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

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

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

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

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

12 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

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

12 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

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

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

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

12 years agoobjects: Allow certain operations when the object refcount is zero (read, allow certa...
Pierre d'Herbemont [Wed, 26 Mar 2008 09:22:29 +0000 (10:22 +0100)]
objects: Allow certain operations when the object refcount is zero (read, allow certain operations from the object destructor), and make sure we don't return objects that are being destroyed.

12 years agovideo_output.c: Don't rely on the playlist to store vout, but store them in libvlc.
Pierre d'Herbemont [Wed, 26 Mar 2008 09:18:08 +0000 (10:18 +0100)]
video_output.c: Don't rely on the playlist to store vout, but store them in libvlc.

This sanitize the circular dependency there is between playlist and input and allow a safe destruction.

12 years agoplaylist: Properly clean the playlist using the object destructor.
Pierre d'Herbemont [Wed, 26 Mar 2008 09:15:03 +0000 (10:15 +0100)]
playlist: Properly clean the playlist using the object destructor.

12 years agovlc.h: Don't actually put the __attribute__((deprecated)) when the header is used...
Pierre d'Herbemont [Wed, 26 Mar 2008 09:14:17 +0000 (10:14 +0100)]
vlc.h: Don't actually put the __attribute__((deprecated)) when the header is used by libvlc.

12 years agovout: Proper vout destruction via the object destructor.
Pierre d'Herbemont [Wed, 26 Mar 2008 09:04:23 +0000 (10:04 +0100)]
vout: Proper vout destruction via the object destructor.

12 years agocontrib: ffmpeg uses now --enable-cross-compile instead of --cross-compile.
Pierre d'Herbemont [Wed, 26 Mar 2008 08:58:15 +0000 (09:58 +0100)]
contrib: ffmpeg uses now --enable-cross-compile instead of --cross-compile.

12 years agomacosx: Fix a race condition that causes a crash at exit because VLCIntf holds a...
Pierre d'Herbemont [Wed, 26 Mar 2008 00:25:28 +0000 (01:25 +0100)]
macosx: Fix a race condition that causes a crash at exit because VLCIntf holds a freed ptr.

12 years agoplaylist: Properly destroy the preparser and the fetcher objects.
Pierre d'Herbemont [Tue, 25 Mar 2008 23:46:49 +0000 (00:46 +0100)]
playlist: Properly destroy the preparser and the fetcher objects.

vlc_thread_join() and vlc_object_detach() are correctly run from vlc_object_release() now.

12 years agothreads: Make sure we vlc_thread_join() won't block when run from joined thread using...
Pierre d'Herbemont [Tue, 25 Mar 2008 23:39:59 +0000 (00:39 +0100)]
threads: Make sure we vlc_thread_join() won't block when run from joined thread using the pthread implementation.

Signed-off-by: Rémi Denis-Courmont
12 years agovlc.h: VLC_AddTarget is used in core, so don't deprecate it.
Pierre d'Herbemont [Tue, 25 Mar 2008 23:35:36 +0000 (00:35 +0100)]
vlc.h: VLC_AddTarget is used in core, so don't deprecate it.

12 years agoExpand the window downwards, as you would expect this on OS X. Additionally, centre...
Felix Paul Kühne [Wed, 26 Mar 2008 15:30:08 +0000 (16:30 +0100)]
Expand the window downwards, as you would expect this on OS X. Additionally, centre it on open.

12 years agoUpdated icon graphics set featuring a 512*512 pixmap (needed for Leopard's QuickLook...
Felix Paul Kühne [Wed, 26 Mar 2008 14:42:21 +0000 (15:42 +0100)]
Updated icon graphics set featuring a 512*512 pixmap (needed for Leopard's QuickLook facility).

Thanks again to Richard Øiestad!

12 years agoUpdates and spelling improvements
Felix Paul Kühne [Wed, 26 Mar 2008 11:49:57 +0000 (12:49 +0100)]
Updates and spelling improvements

Merged the 0.8.6e and the preliminary 0.8.6f release notes.

12 years agoDon't crash when using libgmalloc on Leopard (closes #1501)
Felix Paul Kühne [Wed, 26 Mar 2008 11:25:40 +0000 (12:25 +0100)]
Don't crash when using libgmalloc on Leopard (closes #1501)

Patch by Drew Yao. Thanks and sorry for the long time it took this simple fix to be committed!

12 years agohide the FSPanel at the same time as the cursor
Felix Paul Kühne [Wed, 26 Mar 2008 11:13:22 +0000 (12:13 +0100)]
hide the FSPanel at the same time as the cursor

Additionally, fixed a minor layout bug in the Error & Messages panel

12 years agoDBus: don't use the demux object
Rafaël Carré [Wed, 26 Mar 2008 10:28:26 +0000 (11:28 +0100)]
DBus: don't use the demux object

12 years agoRevert "let gcc choose how to reference memory addresses in i420_rgx mmx asm"
Rafaël Carré [Wed, 26 Mar 2008 07:05:01 +0000 (08:05 +0100)]
Revert "let gcc choose how to reference memory addresses in i420_rgx mmx asm"

This reverts commit 6c50d21cebc1c6c809e56400f4cc5ed7aa6856a4.
Breaks compilation on OSX

12 years agolet gcc choose how to reference memory addresses in i420_rgx mmx asm
Rafaël Carré [Wed, 26 Mar 2008 06:28:36 +0000 (07:28 +0100)]
let gcc choose how to reference memory addresses in i420_rgx mmx asm

patch by Alexis Ballier, fix #1383

12 years agoTypo
Rafaël Carré [Wed, 26 Mar 2008 04:17:41 +0000 (05:17 +0100)]
Typo

12 years agoDBus: don't use access object
Rafaël Carré [Wed, 26 Mar 2008 02:17:08 +0000 (03:17 +0100)]
DBus: don't use access object

12 years agocinepak: do not access arrays beyond allocated size
Rafaël Carré [Mon, 24 Mar 2008 20:19:05 +0000 (21:19 +0100)]
cinepak: do not access arrays beyond allocated size

reported by Drew Yao