vlc.git
12 years agoFix typo
Jean-Paul Saman [Sat, 14 Jun 2008 14:19:13 +0000 (16:19 +0200)]
Fix typo

12 years agoFix status reporting in test.html.
Jean-Paul Saman [Sat, 14 Jun 2008 14:01:26 +0000 (16:01 +0200)]
Fix status reporting in test.html.

12 years agoUpdate test HTML page.
Jean-Paul Saman [Sat, 14 Jun 2008 13:46:17 +0000 (15:46 +0200)]
Update test HTML page.

12 years agoUnify libvlc_state_t, input_state_e, mediacontrol_PlayerStatus and libvlc_event_type_t.
Jean-Paul Saman [Sat, 14 Jun 2008 13:35:43 +0000 (15:35 +0200)]
Unify libvlc_state_t, input_state_e, mediacontrol_PlayerStatus and libvlc_event_type_t.

12 years agoTake win32 into considiration.
Jean-Paul Saman [Sat, 14 Jun 2008 11:56:58 +0000 (13:56 +0200)]
Take win32 into considiration.

12 years agoCleanup indentation
Jean-Paul Saman [Sat, 14 Jun 2008 11:56:02 +0000 (13:56 +0200)]
Cleanup indentation

12 years agoRemove deadcode.
Jean-Paul Saman [Sat, 14 Jun 2008 09:16:38 +0000 (11:16 +0200)]
Remove deadcode.

12 years agoinput: No need to include vlc_playlist.h in control.c now.
Pierre d'Herbemont [Sat, 14 Jun 2008 14:12:51 +0000 (16:12 +0200)]
input: No need to include vlc_playlist.h in control.c now.

12 years agoncurses: Properly update on item-change variable callback.
Pierre d'Herbemont [Sat, 14 Jun 2008 14:11:42 +0000 (16:11 +0200)]
ncurses: Properly update on item-change variable callback.

12 years agoinput: Don't do NotifyPlaylist() now that the playlist properly listen to input item...
Pierre d'Herbemont [Sat, 14 Jun 2008 14:11:03 +0000 (16:11 +0200)]
input: Don't do NotifyPlaylist() now that the playlist properly listen to input item event.

12 years agoplaylist: Respond to Name and Info changed events.
Pierre d'Herbemont [Sat, 14 Jun 2008 14:04:24 +0000 (16:04 +0200)]
playlist: Respond to Name and Info changed events.

12 years agovlc_object_find(playlist) is an error
Rémi Denis-Courmont [Sat, 14 Jun 2008 14:10:40 +0000 (17:10 +0300)]
vlc_object_find(playlist) is an error

12 years agoMake the playlist a generic object
Rémi Denis-Courmont [Sat, 14 Jun 2008 14:08:58 +0000 (17:08 +0300)]
Make the playlist a generic object

12 years agoinput: Fix a typo in previous commit.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:58:28 +0000 (15:58 +0200)]
input: Fix a typo in previous commit.

12 years agoRevert "events: use input_state_e in input_state_changed."
Pierre d'Herbemont [Sat, 14 Jun 2008 13:52:23 +0000 (15:52 +0200)]
Revert "events: use input_state_e in input_state_changed."

This reverts commit 627aaa888d8bf6f2fa64749263128be78791b462.

Well, we do need to define the type first. Limitation of how we declared events.

12 years agoevents: use input_state_e in input_state_changed.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:49:42 +0000 (15:49 +0200)]
events: use input_state_e in input_state_changed.

12 years agoevents: vlc_input_state_changed->input_state_changed
Pierre d'Herbemont [Sat, 14 Jun 2008 13:47:26 +0000 (15:47 +0200)]
events: vlc_input_state_changed->input_state_changed

12 years agoinput: Send vlc_InputItemInfoChanged, and vlc_InputItemNameChanged events.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:45:44 +0000 (15:45 +0200)]
input: Send vlc_InputItemInfoChanged, and vlc_InputItemNameChanged events.

12 years agolibvlccore.sym: Alphabetical order fix.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:34:54 +0000 (15:34 +0200)]
libvlccore.sym: Alphabetical order fix.

12 years agolibvlc_media_player: Use the input event instead of "state" var callback.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:33:20 +0000 (15:33 +0200)]
libvlc_media_player: Use the input event instead of "state" var callback.

12 years agoinput: Remove vlc_playlist.h inclusion.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:15:19 +0000 (15:15 +0200)]
input: Remove vlc_playlist.h inclusion.

12 years agoinput: No need to playlist_Signal() on error now that the playlist receive state...
Pierre d'Herbemont [Sat, 14 Jun 2008 13:14:50 +0000 (15:14 +0200)]
input: No need to playlist_Signal() on error now that the playlist receive state changed events.

12 years agoinput: No need to signal input's end to the playlist now that the playlist gets an...
Pierre d'Herbemont [Sat, 14 Jun 2008 13:14:04 +0000 (15:14 +0200)]
input: No need to signal input's end to the playlist now that the playlist gets an event for that one.

12 years agoplaylist: Respond to input state changed event.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:12:52 +0000 (15:12 +0200)]
playlist: Respond to input state changed event.

12 years agoplaylist: de-inline p_input setters.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:11:41 +0000 (15:11 +0200)]
playlist: de-inline p_input setters.

12 years agoplaylist: Use a set/release accessor for playlist->p_input.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:03:15 +0000 (15:03 +0200)]
playlist: Use a set/release accessor for playlist->p_input.

(To better track when to attach/detach events).

12 years agoinput: Change the state to END_S when playback is really finished.
Pierre d'Herbemont [Sat, 14 Jun 2008 12:51:44 +0000 (14:51 +0200)]
input: Change the state to END_S when playback is really finished.

12 years agoinput: Add input_get_event_manager().
Pierre d'Herbemont [Sat, 14 Jun 2008 12:16:24 +0000 (14:16 +0200)]
input: Add input_get_event_manager().

12 years agoinput: Send vlc_InputStateChanged events.
Pierre d'Herbemont [Sat, 14 Jun 2008 11:49:49 +0000 (13:49 +0200)]
input: Send vlc_InputStateChanged events.

12 years agoinput: Register vlc_InputStateChanged event.
Pierre d'Herbemont [Sat, 14 Jun 2008 11:37:02 +0000 (13:37 +0200)]
input: Register vlc_InputStateChanged event.

12 years agoinput: Add an event manager to the input.
Pierre d'Herbemont [Sat, 14 Jun 2008 11:21:10 +0000 (13:21 +0200)]
input: Add an event manager to the input.

Currently libvlc uses "state" callback to notice input state changes, and the playlist notice input state change via direct call from the input.
playlist can't use the "state" variable as it is also used by the playlist to ask the input to do a certain action.

The event approach is much more clear here.

12 years agoevents: Add wrappers around vlc_event_manager_init for object casting.
Pierre d'Herbemont [Sat, 14 Jun 2008 10:19:05 +0000 (12:19 +0200)]
events: Add wrappers around vlc_event_manager_init for object casting.

12 years agoevents: Fix docs.
Pierre d'Herbemont [Sat, 14 Jun 2008 10:09:14 +0000 (12:09 +0200)]
events: Fix docs.

12 years agoTurn comment into error message.
Jean-Paul Saman [Sat, 14 Jun 2008 09:05:32 +0000 (11:05 +0200)]
Turn comment into error message.

12 years agoFix indentation.
Jean-Paul Saman [Sat, 14 Jun 2008 08:00:42 +0000 (10:00 +0200)]
Fix indentation.

12 years agoRemove trailing whitespace
Jean-Paul Saman [Fri, 13 Jun 2008 15:03:24 +0000 (17:03 +0200)]
Remove trailing whitespace

12 years agoAdd playlist_CurrentId() to get the playlist item id from the currently playing item.
Jean-Paul Saman [Fri, 13 Jun 2008 14:18:55 +0000 (16:18 +0200)]
Add playlist_CurrentId() to get the playlist item id from the currently playing item.

12 years agoFix indentation in some of the structs defintions.
Jean-Paul Saman [Fri, 13 Jun 2008 14:16:06 +0000 (16:16 +0200)]
Fix indentation in some of the structs defintions.

12 years agoAdd comment about getVariable() and setVariable() JS function: they are removed becau...
Jean-Paul Saman [Tue, 10 Jun 2008 14:34:25 +0000 (16:34 +0200)]
Add comment about getVariable() and setVariable() JS function: they are removed because of their security implications. Everyone is advice to use the newer ActiveX v2 (IVLCControl2) interface instead.

12 years agoFix building of ActiveX control with 3 functions being unimplemented right now:
Jean-Paul Saman [Tue, 10 Jun 2008 14:25:13 +0000 (16:25 +0200)]
Fix building of ActiveX control with 3 functions being unimplemented right now:
- VLCControl::setVariable()
- VLCControl::getVariable()
- VLCControl::get_PlaylistIndex()

12 years agoFix compiler error.
Jean-Paul Saman [Tue, 10 Jun 2008 14:24:38 +0000 (16:24 +0200)]
Fix compiler error.

12 years agoReadibility improvement.
Jean-Paul Saman [Tue, 10 Jun 2008 13:54:25 +0000 (15:54 +0200)]
Readibility improvement.

12 years agoFix get_VersionInfo() and break long lines.
Jean-Paul Saman [Tue, 10 Jun 2008 13:53:34 +0000 (15:53 +0200)]
Fix get_VersionInfo() and break long lines.

12 years agoMove Toolbar to the IVLCControl2 interface object, where it should have been all...
Jean-Paul Saman [Tue, 10 Jun 2008 13:39:59 +0000 (15:39 +0200)]
Move Toolbar to the IVLCControl2 interface object, where it should have been all along.

12 years agoUse the same internal libvlc API as vlccontrol2.cpp does.
Jean-Paul Saman [Tue, 10 Jun 2008 08:57:07 +0000 (10:57 +0200)]
Use the same internal libvlc API as vlccontrol2.cpp does.

12 years agoAdd some sane default values.
Jean-Paul Saman [Tue, 10 Jun 2008 08:55:32 +0000 (10:55 +0200)]
Add some sane default values.

12 years agoRemove VLCPlugin::getVLCObject() methond from ActiveX
Jean-Paul Saman [Tue, 10 Jun 2008 07:43:29 +0000 (09:43 +0200)]
Remove VLCPlugin::getVLCObject() methond from ActiveX

12 years agoAdd missing include to activex/plugin.h
Jean-Paul Saman [Tue, 10 Jun 2008 07:03:06 +0000 (09:03 +0200)]
Add missing include to activex/plugin.h

12 years agoRevert "Desactivate activex until it's fixed"
Jean-Paul Saman [Sun, 8 Jun 2008 17:53:58 +0000 (19:53 +0200)]
Revert "Desactivate activex until it's fixed"

This reverts commit 722f244d86015adc90ec9c7687856d941a5bf207.

12 years agoIndentation fix.
Jean-Paul Saman [Sun, 8 Jun 2008 17:52:25 +0000 (19:52 +0200)]
Indentation fix.

12 years agoRevert "Do not try to build the ActiveX so we can at least have nightlies."
Jean-Paul Saman [Sun, 8 Jun 2008 17:51:57 +0000 (19:51 +0200)]
Revert "Do not try to build the ActiveX so we can at least have nightlies."

This reverts commit 097f8fc9cddf85baac0ad3083c13a85384e86e66.

12 years agoMore config.status magic.
Christophe Mutricy [Fri, 13 Jun 2008 23:24:31 +0000 (00:24 +0100)]
More config.status magic.

I'm not sure why we have a PRODUCT_VERSION and VERSION

12 years agoFix logic and comment
Christophe Mutricy [Fri, 13 Jun 2008 23:22:28 +0000 (00:22 +0100)]
Fix logic and comment

12 years agoCosmetic
Christophe Mutricy [Fri, 13 Jun 2008 23:04:31 +0000 (00:04 +0100)]
Cosmetic

12 years agodemux/dummy: Remove vlc_playlist.h inclusion now.
Pierre d'Herbemont [Fri, 13 Jun 2008 21:09:04 +0000 (23:09 +0200)]
demux/dummy: Remove vlc_playlist.h inclusion now.

12 years agodemux/dummy: No need to check for playlist availability. (Also fix #1543)
Pierre d'Herbemont [Fri, 13 Jun 2008 21:01:08 +0000 (23:01 +0200)]
demux/dummy: No need to check for playlist availability. (Also fix #1543)

This is a bit contriversial, but libvlc actually uses vlc://nop, and this without a playlist.

12 years agoImplement the full/basic switch correctly and completely. Additionally, fixed a rare...
Felix Paul Kühne [Fri, 13 Jun 2008 17:54:08 +0000 (19:54 +0200)]
Implement the full/basic switch correctly and completely. Additionally, fixed a rare sprefs init failure.

12 years agoRemoved useless setting which can confuse some setups
Felix Paul Kühne [Fri, 13 Jun 2008 17:25:50 +0000 (19:25 +0200)]
Removed useless setting which can confuse some setups

12 years agoAdd support for the http proxy password setting to the simple prefs and make sure...
Felix Paul Kühne [Fri, 13 Jun 2008 16:45:58 +0000 (18:45 +0200)]
Add support for the http proxy password setting to the simple prefs and make sure that the last.fm password isn't displayed as plain text

12 years agoHTTP: put the password to a separate field, so we can have ****
Rémi Denis-Courmont [Fri, 13 Jun 2008 15:52:09 +0000 (18:52 +0300)]
HTTP: put the password to a separate field, so we can have ****

12 years agoVLCKit: Typo and create a link to include and share.
Pierre d'Herbemont [Fri, 13 Jun 2008 14:29:32 +0000 (16:29 +0200)]
VLCKit: Typo and create a link to include and share.

12 years agoVLCKit: Fix #1587 "missing libvlc/mediacontrol header files".
Pierre d'Herbemont [Fri, 13 Jun 2008 14:10:56 +0000 (16:10 +0200)]
VLCKit: Fix #1587 "missing libvlc/mediacontrol header files".

Headers are in VLCKit.framework/include/vlc.

12 years agolibvlc: Fix compilation of libvlc_media_player_set_drawable().
Pierre d'Herbemont [Fri, 13 Jun 2008 13:47:11 +0000 (15:47 +0200)]
libvlc: Fix compilation of libvlc_media_player_set_drawable().

12 years agolibvlc: libvlc_video_set_parent and libvlc_video_get_parent are deprecated.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:42:24 +0000 (15:42 +0200)]
libvlc: libvlc_video_set_parent and libvlc_video_get_parent are deprecated.

12 years agolibvlc_video_set_parent: Use libvlc_media_player_set_drawable().
Pierre d'Herbemont [Fri, 13 Jun 2008 13:39:47 +0000 (15:39 +0200)]
libvlc_video_set_parent: Use libvlc_media_player_set_drawable().

12 years agolibvlc_video_get_width: Don't use a potentially freed pointer.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:38:23 +0000 (15:38 +0200)]
libvlc_video_get_width: Don't use a potentially freed pointer.

Pointed-out-by: Lukas
12 years agolibvlc_media_player: Coding style.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:37:21 +0000 (15:37 +0200)]
libvlc_media_player: Coding style.

12 years agolibvlc_video_get_height: Don't use a potentially freed pointer.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:36:44 +0000 (15:36 +0200)]
libvlc_video_get_height: Don't use a potentially freed pointer.

Pointed-out-by: Lukas
12 years agolibvlc_media_player: Allow reparenting in libvlc_media_player_set_drawable().
Pierre d'Herbemont [Fri, 13 Jun 2008 13:35:16 +0000 (15:35 +0200)]
libvlc_media_player: Allow reparenting in libvlc_media_player_set_drawable().

12 years agolibvlc_video: More line saving on error cases
Pierre d'Herbemont [Fri, 13 Jun 2008 13:20:11 +0000 (15:20 +0200)]
libvlc_video: More line saving on error cases

12 years agolibvlc_video: Suppress playlist existence checks.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:16:55 +0000 (15:16 +0200)]
libvlc_video: Suppress playlist existence checks.

12 years agolibvlc_video_set_viewport: No need to check playlist status.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:15:13 +0000 (15:15 +0200)]
libvlc_video_set_viewport: No need to check playlist status.

12 years agolibvlc_video_set_viewport: Make sure we don't crash if view is NULL.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:14:38 +0000 (15:14 +0200)]
libvlc_video_set_viewport: Make sure we don't crash if view is NULL.

12 years agolibvlc_video: Save a few line in error case handling.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:13:34 +0000 (15:13 +0200)]
libvlc_video: Save a few line in error case handling.

12 years agolibvlc_video: More simplification.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:12:05 +0000 (15:12 +0200)]
libvlc_video: More simplification.

12 years agolibvlc_video: Rename p_vout1->p_vout.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:07:39 +0000 (15:07 +0200)]
libvlc_video: Rename p_vout1->p_vout.

12 years agolibvlc: comment about libvlc_video_destroy().
Pierre d'Herbemont [Fri, 13 Jun 2008 13:07:15 +0000 (15:07 +0200)]
libvlc: comment about libvlc_video_destroy().

12 years agolibvlc: move libvlc_video_destroy to the deprecated function.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:04:57 +0000 (15:04 +0200)]
libvlc: move libvlc_video_destroy to the deprecated function.

It is doing something not supported at all.

12 years agolibvlc: Simplify get/set/toggle_fullscreen.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:59:48 +0000 (14:59 +0200)]
libvlc: Simplify get/set/toggle_fullscreen.

12 years agolibvlc: Properly release vout. Pointed out by Lukas.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:56:18 +0000 (14:56 +0200)]
libvlc: Properly release vout. Pointed out by Lukas.

12 years agolibvlc: Don't attempt to search an input's vout everywhere. Only search it in input...
Pierre d'Herbemont [Fri, 13 Jun 2008 12:55:03 +0000 (14:55 +0200)]
libvlc: Don't attempt to search an input's vout everywhere. Only search it in input's children.

12 years agolibvlc: Fix GetVout's comment. Pointed out by Lukas.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:54:07 +0000 (14:54 +0200)]
libvlc: Fix GetVout's comment. Pointed out by Lukas.

12 years agoReplaced a certain amount of vlc_object_find by pl_Yield
Felix Paul Kühne [Fri, 13 Jun 2008 07:48:13 +0000 (09:48 +0200)]
Replaced a certain amount of vlc_object_find by pl_Yield

Great news: there is no need to check for the existance of the playlist!

12 years agoBootstrap when you modify configure.in
Jean-Baptiste Kempf [Fri, 13 Jun 2008 07:04:15 +0000 (09:04 +0200)]
Bootstrap when you modify configure.in

12 years agoWe can't use this plugin for audio decoding on Leopard due to the removal of the...
Felix Paul Kühne [Fri, 13 Jun 2008 06:45:04 +0000 (08:45 +0200)]
We can't use this plugin for audio decoding on Leopard due to the removal of the old pre-carbon SoundManager API.

As this plugin is heavily based on QuickDraw and Sound Manager, we definitively want a re-write using sane and supported APIs meaning either QTKit or a combination of CoreAudio and the 32bit C QuickTime API

12 years agoLibdvdread fix on Win$uck$
Jean-Baptiste Kempf [Fri, 13 Jun 2008 06:26:18 +0000 (08:26 +0200)]
Libdvdread fix on Win$uck$

12 years agoAdded complete l10n to the Capture interface and a useful error messages to the input...
Felix Paul Kühne [Fri, 13 Jun 2008 00:16:11 +0000 (02:16 +0200)]
Added complete l10n to the Capture interface and a useful error messages to the input module

12 years agoAssigned cmd-R to 'Open Capture Device'
Felix Paul Kühne [Thu, 12 Jun 2008 23:57:11 +0000 (01:57 +0200)]
Assigned cmd-R to 'Open Capture Device'

12 years agoDon't double free objects on error. Pointed by Pierre
Felix Paul Kühne [Thu, 12 Jun 2008 23:47:34 +0000 (01:47 +0200)]
Don't double free objects on error. Pointed by Pierre

12 years agoFixes and cleanup
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:54:13 +0000 (23:54 +0300)]
Fixes and cleanup

12 years agoWx: remove translations
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:33:37 +0000 (23:33 +0300)]
Wx: remove translations

12 years agoWxWidgets: good bye, I will not miss you.
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:32:14 +0000 (23:32 +0300)]
WxWidgets: good bye, I will not miss you.

If you wanted to keep it, you've had two years to take maintainership
and start fixing this mess. It's a bit late.

12 years agoRefer to Qt4 rather than WxWidgets for interactions
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:29:15 +0000 (23:29 +0300)]
Refer to Qt4 rather than WxWidgets for interactions

12 years agoDisable vout_RequestWindow. It has never worked properly
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:19:58 +0000 (23:19 +0300)]
Disable vout_RequestWindow. It has never worked properly

Some people should have read some documentation about threading before
they did 1000+ commits. Yes, I am obviously annoyed. I have been fixing
VLC for 18 months because of these "great former developers".

12 years agoRemove services discovery tasks before the playlist
Rémi Denis-Courmont [Thu, 12 Jun 2008 19:01:16 +0000 (22:01 +0300)]
Remove services discovery tasks before the playlist

I assume nothing can ever try to add a new one once the interfaces have
been destroyed. If not there is a race condition.

12 years agoFix previous commit
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:53:33 +0000 (21:53 +0300)]
Fix previous commit

12 years agoNULLify p_playlist when the playlist is gone
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:37:23 +0000 (21:37 +0300)]
NULLify p_playlist when the playlist is gone

12 years agolive: add --rtsp-mcast to force multicast
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:12:21 +0000 (21:12 +0300)]
live: add --rtsp-mcast to force multicast

12 years agoboolean cosmetics
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:11:49 +0000 (21:11 +0300)]
boolean cosmetics

12 years agoVLCKit: Use --ignore-config.
Pierre d'Herbemont [Thu, 12 Jun 2008 17:50:01 +0000 (19:50 +0200)]
VLCKit: Use --ignore-config.