1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
Commit Graph

41 Commits

Author SHA1 Message Date
Pierre d'Herbemont
a0c7001bb2 libvlc: Register PreparsingChanged. 2010-02-22 07:03:33 +01:00
Rémi Denis-Courmont
7eccf3a2cf libvlc_media_new_path: create a media from a file path
Also rename libvlc_media_new to libvlc_media_new_location to remove
the ambiguity.
2010-02-18 19:56:15 +02:00
Rémi Denis-Courmont
3863d8b088 No need to lock the playlist for meta fetch and preparsing
The previous fix made the fetcher and preparser persistent throughout
the lifetime of the playlist. So we don't need to protect the pointers
anymore. Also, they are internally thread-safe (with their own lock).
2010-02-09 21:14:26 +02:00
Rémi Denis-Courmont
2d81d79916 Do not use an enumeration for a bits field
This violates the C standard. Passing a value outside not part of the
enumeration is undefined. This obviously excludes bits fields.
2010-02-04 18:08:25 +02:00
Rémi Denis-Courmont
6c2286c22b Remove some exceptions in media_list 2010-02-03 20:06:21 +02:00
Rémi Denis-Courmont
b0a1ac2e63 LibVLC media: remove exceptions 2010-02-02 23:45:02 +02:00
Rémi Denis-Courmont
b7e0d3cc48 Remove some unused p_e parameters and propagate 2010-01-28 22:49:15 +02:00
Rafaël Carré
ba57e3d2d7 libvlc_media_es_t: export ES id 2010-01-27 10:42:29 +01:00
Rémi Denis-Courmont
556953c4c2 libvlc_event_manager: remove exceptions 2010-01-25 19:37:26 +02:00
Rémi Denis-Courmont
e7dc693ef4 Remove some more unused exceptions 2010-01-24 11:55:39 +02:00
Rafaël Carré
0da465f604 libvlc: Get ES descriptions for media 2010-01-23 16:44:47 +01:00
Rémi Duraffort
478ff4e11c libvlc: fix calloc usage. 2010-01-20 08:14:41 +01:00
Pierre d'Herbemont
427d73cdc8 libvlc: Don't request art if it was already asked before. 2010-01-16 18:26:08 +01:00
Pierre d'Herbemont
a6b1ff10ee libvlc: Fix a bunch of messed up mtime_t to libvlc_time_t.
Apparently libvlc_time_t is millisec, whereas mtime_t is microsecs.
Most event callbacks where carying an incorrect mtime_t value.
2010-01-16 18:26:08 +01:00
Pierre d'Herbemont
c6e4db8d93 libvlc: Make sure calling get_duration() triggers preparsing and returns -1 if duration is unknown. 2010-01-16 18:26:08 +01:00
Rémi Duraffort
1bebc0ded5 libvlc: add two functions
* set a meta (without changing the file)
* save all meta to the file
2009-12-08 10:04:53 +01:00
Rémi Duraffort
60259082b6 libvlc: fix comment. 2009-11-23 19:21:13 +01:00
Rémi Duraffort
41b54a0abc libvlc: add a function get the statistics about the current media (also add a structure to expose this values).
All statistics are not exported, only the most used are exported.
2009-11-20 12:17:13 +01:00
Rémi Denis-Courmont
f3b630e51c Retaining NULL makes no sense 2009-10-05 21:58:34 +03:00
Rémi Denis-Courmont
2fa0b5fa1a libvlc_media_*: remove a bunch of useless exception parameters 2009-10-05 21:56:52 +03:00
Rémi Denis-Courmont
0102564f2c Remove useless exception parameters 2009-10-05 21:41:21 +03:00
Rémi Denis-Courmont
848c006a78 Move LibVLC error messages to libvlc_printerr(). 2009-09-07 22:19:33 +03:00
Olivier Aubert
bb830b765e Have (and document) libvlc_media_get_duration return ms
in order to be consistent with other libvlc methods (libvlc_media_player_get_length, get_time, ...)
2009-08-04 17:17:07 +02:00
Rémi Duraffort
7962ffa37c cosmetics. 2009-07-23 08:18:20 +02:00
Pierre d'Herbemont
6030a03b5a Revert "Remove enums from public APIs"
This reverts commit 3d0ef0165c.

As agreed, the information loss is too important, even for sanitizing the ABI. And there are alternative solutions available.
2009-07-05 19:51:56 -07:00
Rémi Denis-Courmont
3d0ef0165c Remove enums from public APIs 2009-06-29 18:38:32 +03:00
Hugo Beauzee-Luyssen
f4ad8d4d0b Adding a libvlc_media_add_option_flag
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2009-06-23 19:00:09 +03:00
Geoffroy Couprie
295904fac5 Add missing config.h 2009-05-25 15:09:40 +02:00
Pierre d'Herbemont
5b5a735b1a libvlc: Split libvlc_internal in different independant headers. 2009-05-25 02:58:34 -07:00
Laurent Aimar
059a3399da Added libvlc_playlist_add_extended_untrusted and libvlc_media_add_option_untrusted.
They allow to add untrusted options (needed at least for web plugin).
2009-01-28 20:20:21 +01:00
Laurent Aimar
36edd71568 Renamed input_item_AddOpt to input_item_AddOption.
This will force people to use VLC_INPUT_OPTION_TRUSTED flag when they
need it and ease security review.
 This commit has no functionnal/security changes.
2009-01-17 18:17:42 +01:00
Laurent Aimar
52157ae334 Fixed preparsing/art fetching locking. 2009-01-05 20:49:11 +01:00
Pierre d'Herbemont
d11fd0d1e5 codecleanup: Replace input_Item by input_item. 2008-08-15 00:32:07 +02:00
Jean-Paul Saman
bddca17181 Document media descriptor, media library, media service discover, vlm and message log functions. 2008-08-08 19:48:29 +08:00
Pierre d'Herbemont
7aca2b195b libvlc: Properly raise an exception if something goes wrong in libvlc_media_get_duration and libvlc_media_is_preparsed. 2008-08-03 20:06:05 +02:00
Rémi Denis-Courmont
5ba2255e62 Remove vlc_int64_t. Was not even correctly defined. 2008-05-31 22:10:31 +03:00
Jean-Paul Saman
e7268258a5 Remove trailing whitespace, add checks for malloc return value. 2008-05-18 13:09:26 +02:00
Rémi Denis-Courmont
82921f3c8d Remove p_playlist from p_libvlc
Plugins are already using pl_Yield to get the playlist, as they should.
2008-05-07 22:26:56 +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
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
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