X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc%2Fdeprecated.h;h=e3c0d560573475587f7b74ac40cf257fe9431d73;hb=a6e200e96571bf226ebe01f26ef9cc5d893a8bce;hp=bb966d0f5e1b087010ece7837ea1c5b5e8d84f18;hpb=14602bebf0d564660a739f40a8936b03fb5940eb;p=vlc diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h index bb966d0f5e..e3c0d56057 100644 --- a/include/vlc/deprecated.h +++ b/include/vlc/deprecated.h @@ -96,6 +96,16 @@ VLC_PUBLIC_API void libvlc_video_set_parent( libvlc_instance_t *, libvlc_drawabl */ VLC_PUBLIC_API libvlc_drawable_t libvlc_video_get_parent( libvlc_instance_t *, libvlc_exception_t * ); +/** + * Change the parent for the current the video output. + * + * \param p_instance libvlc instance + * \param drawable the new parent window (Drawable on X11, CGrafPort on MacOSX, HWND on Win32) + * \param p_e an initialized exception pointer + * \return the success status (boolean) + */ +VLC_PUBLIC_API int libvlc_video_reparent( libvlc_media_player_t *, libvlc_drawable_t, libvlc_exception_t * ); + /* * This function shall not be used at all. It may lead to crash and race condition. */ @@ -163,6 +173,8 @@ VLC_DEPRECATED_API int libvlc_playlist_isplaying( libvlc_instance_t *, /** * Get the number of items in the playlist * + * Expects the playlist instance to be locked already. + * * \param p_instance the playlist instance * \param p_e an initialized exception pointer * \return the number of items