*/
VLC_PUBLIC_API void libvlc_video_set_parent( libvlc_instance_t *, libvlc_drawable_t, libvlc_exception_t * );
+/**
+ * Set the default video output parent
+ * this settings will be used as default for all video outputs
+ * \param p_instance libvlc instance
+ * \param drawable the new parent window (Drawable on X11, CGrafPort on MacOSX, HWND on Win32)
+ * \param p_exception an initialized exception
+ */
+VLC_PUBLIC_API libvlc_drawable_t libvlc_video_get_handle( libvlc_instance_t *, libvlc_exception_t * );
+
/**
* Set the default video output size
* this settings will be used as default for all video outputs
}
}
+libvlc_drawable_t libvlc_video_get_handle( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
+{
+ libvlc_drawable_t result;
+
+ result = var_GetInteger( p_instance->p_libvlc_int, "drawable" );
+
+ return result;
+}
+
+
void libvlc_video_set_size( libvlc_instance_t *p_instance, int width, int height,
libvlc_exception_t *p_e )
{