Commit c77ca899 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

vlc/libvlc.h: Export libvlc_media_instance_get_drawable().

parent 32d37f69
......@@ -445,6 +445,8 @@ VLC_PUBLIC_API void libvlc_media_instance_pause ( libvlc_media_instance_t *, lib
VLC_PUBLIC_API void libvlc_media_instance_stop ( libvlc_media_instance_t *, libvlc_exception_t * );
VLC_PUBLIC_API void libvlc_media_instance_set_drawable ( libvlc_media_instance_t *, libvlc_drawable_t, libvlc_exception_t * );
VLC_PUBLIC_API libvlc_drawable_t
libvlc_media_instance_get_drawable ( libvlc_media_instance_t *, libvlc_exception_t * );
/** \bug This might go away ... to be replaced by a broader system */
VLC_PUBLIC_API libvlc_time_t libvlc_media_instance_get_length ( libvlc_media_instance_t *, libvlc_exception_t *);
......
......@@ -588,6 +588,15 @@ void libvlc_media_instance_set_drawable( libvlc_media_instance_t *p_mi,
p_mi->drawable = drawable;
}
/**************************************************************************
* Get Drawable
**************************************************************************/
libvlc_drawable_t
libvlc_media_instance_get_drawable ( libvlc_media_instance_t *p_mi, libvlc_exception_t *p_e )
{
return p_mi->drawable;
}
/**************************************************************************
* Getters for stream information
**************************************************************************/
......
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