Difference between revisions of "Talk:ExternalAPI"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Reverted edits by Jajo9 (Talk); changed back to last version by Dionoea)
Line 1: Line 1:
 
Comments  
 
Comments  
 +
 +
== Exception ==
 +
 +
A "libvcl_exception * libvlc_exception_create(void)" function should be great.
 +
Actualy, the API let use an opaque exception structure but you need to know the structure size anyway !
  
 
== Vout ==
 
== Vout ==

Revision as of 11:16, 8 May 2007

Comments

Exception

A "libvcl_exception * libvlc_exception_create(void)" function should be great. Actualy, the API let use an opaque exception structure but you need to know the structure size anyway !

Vout

toggle_fullscreen() is useless from an embedder point of view: if I am writing an application, I need to set the movie fullscreen or not. Which makes me think that the same reasoning should apply to audio_mute: we should rather have set_mute/get_mute: the status of mute is of interest for an application developer.

Zorglub Yes. I was thinking about actually putting both options for simplicity.

OlivierAubert Both options can be a little redundant, but it does not cost much anyway.

Playlist

Zorglub I don't really know how to handle playlist retrieval as VLC playlist is not a simple list ...

OlivierAubert Yes, but it is a needed functionality anyway. We can defined a flattened view of the playlist, which will not exactly map to the playlist but be a reasonable view.

VLM

Dionoea Something like libvlc_vlm_cmd( libvlc_instance *, char *cmd, libvlc_exception ) could be usefull. This would let the enduser do whatever he wants with vlm easily.