1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-24 20:48:52 +02:00
Commit Graph

109 Commits

Author SHA1 Message Date
Pierre d'Herbemont
474d2d36e2 libvlc: Export _get/set_nsobject. 2009-04-11 12:37:58 -07:00
Rémi Duraffort
e8d9e5a2bc use var_Set(Integer|Time|Float) when needed. 2009-04-01 22:46:30 +02:00
Rémi Duraffort
cd97914e9e missing vlc_mutex_destroy in case of failure. 2009-04-01 22:28:19 +02:00
Rémi Denis-Courmont
022240552a Unused parameter 2009-03-31 18:22:01 +03:00
JP Dinger
d6b67211aa Simplify libvlc_media_player_is_playing(). Should really be inline.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2009-03-18 18:49:36 +02:00
Jean-Paul Saman
0392f8be21 check against libvlc_state_t states 2009-03-17 14:03:10 +01:00
Jean-Paul Saman
054e7db91b macosx: vout drawable rework.
The macosx drawable variable that used to hold the drawable window reference is splitted up in two variables "drawable-agl" (used by macosx safari/mozilla plugin) and "drawable-gl" (used by macosx interface).
2009-03-17 14:03:09 +01:00
Jean-Paul Saman
825f771dd5 libvlc_media_player_is_playing(): no need to throw an exception in this case. 2009-03-17 13:50:27 +01:00
Jean-Paul Saman
173a1081aa libvlc_media_player_get_state: cache is between [0.0 .. 1.0] (spotted by Laurant Almar). 2009-03-10 11:15:35 +01:00
Jean-Paul Saman
bf8c4fd1c2 libvlc_media_player_set_rate: Allow for changing playout rate.
This fixes a regression introduced in commit: 75adef44b0
2009-03-10 10:41:39 +01:00
Jean-Paul Saman
f207e10163 libvlc api: detect when core is buffering. 2009-03-10 10:41:38 +01:00
Laurent Aimar
8236d4c98f Added a INPUT_EVENT_ABORT event to detect user requested abort. 2009-03-09 20:48:18 +01:00
Rémi Denis-Courmont
1361fddf71 Unused variable 2009-03-07 17:49:25 +02:00
Rémi Denis-Courmont
36220843fe Remove dummy code 2009-03-07 13:49:08 +02:00
Rémi Denis-Courmont
c2eea78202 Do not assume xid and hwnd are in a union 2009-03-07 13:42:18 +02:00
Rémi Denis-Courmont
2b50f07bea Remove invalid VOUT_REPARENT uses
as discussed^Wmonologued on the mailing list.
2009-03-04 19:31:29 +02:00
JP Dinger
dd10d7d915 Documentation, formatting fixes.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2009-03-04 19:19:53 +02:00
Rémi Denis-Courmont
f2f24f4915 Add libvlc_media_player_get_(hwnd|xwindow) as requested on forum 2009-02-12 22:23:08 +02:00
Rémi Denis-Courmont
345c6daa2c X11 pixmaps will not work as drawable
Our outputs want to create a window as a child of the drawable. This is
never going to work with a pixmap.
2009-02-09 18:28:20 +02:00
Rémi Denis-Courmont
dc37025c2d Add libvlc_media_player_set_hwnd and libvlc_media_player_set_xid 2009-02-07 19:32:10 +02:00
Rémi Denis-Courmont
ab044cf5fc Drawable: separate XIDs and HWNDs
Also partially (internally only) fix missing Win64 drawable bits
2009-02-02 21:39:07 +02:00
Rémi Denis-Courmont
92107b3a55 Format string 2009-01-31 20:15:32 +02:00
Filippo Carone
76ca900120 libvlc, jvlc: media_player_is_playing method added 2009-01-06 22:48:15 +01:00
Rémi Denis-Courmont
4dbd738aaf Missing <assert.h> 2008-12-29 22:38:40 +02:00
Filippo Carone
9ba6c6d951 libvlc: on stop, fire a stopped event, not end reached 2008-12-22 10:07:06 +01:00
Laurent Aimar
cd728cd06e Do not use 2 event manager in input. 2008-12-11 23:03:32 +01:00
basos
c2122ce3b1 libvlc_MediaPlayerSnapshotTaken Event creation
It is emmited whenever a snapshot is taken by any means
(gui, libvlc, button ) and also passes the full path of
the new image as event data. Rev 1

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
2008-12-11 20:14:40 +02:00
Laurent Aimar
132855ebcf Fixed input_get_event_manager naming scheme. 2008-12-09 21:13:02 +01:00
Laurent Aimar
31715344b7 Removed obsolete BUFFERING_S input state.
The associated libvlc_MediaPlayerBuffering and libvlc_Buffering value could
probably be removed (not done as I do not know the maintainer opinion).
2008-12-04 22:59:32 +01:00
Laurent Aimar
f593c8f08c Removed unused STOP_S input state.
The associated libvlc_MediaPlayerStopped and libvlc_Stopped value could
probably be removed (not done as I do not know the maintainer opinion).
2008-12-04 22:36:37 +01:00
Laurent Aimar
dce5697103 Renamed "seekable" into "can-seek" (for consistency). 2008-11-23 15:43:50 +01:00
Laurent Aimar
5b54d6769b Updated to intf-event. 2008-11-23 15:43:40 +01:00
Jean-Paul Saman
57dda7ffd6 Remove FORWARD_S and BACKWARD_S from input state.
The input core does separate playing states for forward or backward direction from the playing state PLAYING_S. If one wants to know in what direction VLC is playing, then he needs to look at the sign value of the "rate" value. Backward playing direction has a negative "rate" value. Forward playing direction has a positive one.
2008-11-20 16:17:45 +01:00
Jean-Paul Saman
75adef44b0 Signal can_rewind for use by user interfaces. 2008-11-20 16:17:45 +01:00
Lukas Durfina
816aefe8b4 libvlc: description and count of tracks, titles, chapters and subtitles
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2008-10-16 15:48:54 +02:00
Rémi Denis-Courmont
af394f5dda Fix crash 2008-10-11 17:44:10 +03:00
Lukas Durfina
e7e8927bd3 libvlc: better title/chapter handling
Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
2008-10-11 14:57:05 +02:00
Antoine Cellerier
7060dbb9a2 s/vlc_object_yield/vlc_object_release/
As discussed on IRC. Yield was quite confusing.
2008-09-20 22:28:33 +02:00
Christophe Mutricy
daeac03ed7 Fix input_state_changed()
Patch by Jakob Fries
2008-09-01 20:58:28 +01:00
Pierre d'Herbemont
8c5670d220 libvlc: Fix media_player stop. 2008-08-20 21:55:55 +02:00
Pierre d'Herbemont
d1a4a59a95 libvlc: Don't raise an exception if there is no vout in set_drawable. 2008-07-19 12:57:20 +02:00
Pierre d'Herbemont
9be4778f5a media_player: Don't forgot to clear exception. 2008-06-18 08:51:33 +02:00
Jean-Paul Saman
43a486b582 Make distinction between stop and ended status. 2008-06-15 09:34:07 +02:00
Jean-Paul Saman
1c35d45fda Fix typo 2008-06-14 16:19:23 +02:00
Jean-Paul Saman
a4bb63528c Unify libvlc_state_t, input_state_e, mediacontrol_PlayerStatus and libvlc_event_type_t. 2008-06-14 16:19:23 +02:00
Pierre d'Herbemont
ace6fa7617 events: vlc_input_state_changed->input_state_changed 2008-06-14 15:47:26 +02:00
Pierre d'Herbemont
680faa3c2e libvlc_media_player: Use the input event instead of "state" var callback. 2008-06-14 15:33:20 +02:00
Pierre d'Herbemont
5a1dc1c6ec libvlc: Fix compilation of libvlc_media_player_set_drawable(). 2008-06-13 15:47:18 +02:00
Pierre d'Herbemont
fb90e6be51 libvlc_media_player: Coding style. 2008-06-13 15:37:21 +02:00
Pierre d'Herbemont
4b83963f56 libvlc_media_player: Allow reparenting in libvlc_media_player_set_drawable(). 2008-06-13 15:35:16 +02:00
Jean-Paul Saman
e7268258a5 Remove trailing whitespace, add checks for malloc return value. 2008-05-18 13:09:26 +02:00
Tanguy Krotoff
4a66eee1f0 libvlc: when calling libvlc_media_player_stop() check for playing or paused state before to send a stopped event
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
2008-05-18 12:56:51 +02:00
Rémi Denis-Courmont
6da90a1716 vlc_mutex_init: remove unused paramter 2008-05-04 14:14:46 +03:00
Pierre d'Herbemont
449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Pierre d'Herbemont
417e2db8e9 Revert "libvlc: check if we are in the proper state before to send libvlc_MediaPlayerStopped"
This reverts commit c25f5114ce.

This patch miss a vlc_object_release on p_input_thread.
2008-04-04 14:31:07 +02:00
Tanguy Krotoff
c25f5114ce libvlc: check if we are in the proper state before to send libvlc_MediaPlayerStopped
Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
2008-04-04 13:33:19 +02:00
Tanguy Krotoff
313a874300 libvlc: rename all libvlc_MediaInstance in libvlc_MediaPlayer and libvlc_MediaDescriptor to libvlc_Media
Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
2008-03-31 12:18:44 +02:00
Tanguy Krotoff
ee1330c497 libvlc: add libvlc_MediaInstanceStopped
Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
2008-03-31 12:18:44 +02:00
Pierre d'Herbemont
bf1292e443 libvlc: rename libvlc_media_descriptor to libvlc_media and libvlc_media_instance to libvlc_media_player. 2008-03-30 04:02:57 +02:00