Commit bdab92b9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc_video_*: rewrite

 - enable (non-ES) settings even if no output is present
 - best effort at handling multiple outputs
 - remove exceptions
 - libvlc_video_get_size returns both dimensions
 - libvlc_video_take_snapshot takes a parameter to select the output
parent b01e357d
This diff is collapsed.
...@@ -356,7 +356,17 @@ libvlc_media_player_new( libvlc_instance_t *instance ) ...@@ -356,7 +356,17 @@ libvlc_media_player_new( libvlc_instance_t *instance )
var_Create (mp, "mouse-events", VLC_VAR_BOOL); var_Create (mp, "mouse-events", VLC_VAR_BOOL);
var_SetBool (mp, "mouse-events", true); var_SetBool (mp, "mouse-events", true);
/* Audio */ var_Create (mp, "fullscreen", VLC_VAR_BOOL);
var_Create (mp, "autoscale", VLC_VAR_BOOL);
var_SetBool (mp, "autoscale", true);
var_Create (mp, "scale", VLC_VAR_FLOAT);
var_SetFloat (mp, "scale", 1.);
var_Create (mp, "aspect-ratio", VLC_VAR_STRING);
var_Create (mp, "crop", VLC_VAR_STRING);
var_Create (mp, "deinterlace", VLC_VAR_INTEGER);
var_Create (mp, "deinterlace-mode", VLC_VAR_STRING);
/* Audio */
var_Create (mp, "aout", VLC_VAR_STRING | VLC_VAR_DOINHERIT); var_Create (mp, "aout", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
mp->p_md = NULL; mp->p_md = NULL;
......
This diff is collapsed.
...@@ -167,6 +167,7 @@ libvlc_track_description_release ...@@ -167,6 +167,7 @@ libvlc_track_description_release
libvlc_video_get_aspect_ratio libvlc_video_get_aspect_ratio
libvlc_video_get_chapter_description libvlc_video_get_chapter_description
libvlc_video_get_crop_geometry libvlc_video_get_crop_geometry
libvlc_video_get_size
libvlc_video_get_height libvlc_video_get_height
libvlc_video_get_logo_int libvlc_video_get_logo_int
libvlc_video_get_marquee_int libvlc_video_get_marquee_int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment