Commit 9b2aec79 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc_video: Suppress playlist existence checks.

parent 333b3ea4
......@@ -235,8 +235,6 @@ void libvlc_video_set_parent( libvlc_instance_t *p_instance, libvlc_drawable_t d
/* set as default for future vout instances */
var_SetInteger(p_instance->p_libvlc_int, "drawable", (int)d);
if( libvlc_playlist_isplaying(p_instance, p_e) )
{
libvlc_media_player_t *p_mi = libvlc_playlist_get_media_player(p_instance, p_e);
if( p_mi )
{
......@@ -249,7 +247,6 @@ void libvlc_video_set_parent( libvlc_instance_t *p_instance, libvlc_drawable_t d
}
libvlc_media_player_release(p_mi);
}
}
}
libvlc_drawable_t libvlc_video_get_parent( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
......@@ -271,8 +268,6 @@ void libvlc_video_set_size( libvlc_instance_t *p_instance, int width, int height
config_PutInt(p_instance->p_libvlc_int, "width", width);
config_PutInt(p_instance->p_libvlc_int, "height", height);
if( libvlc_playlist_isplaying(p_instance, p_e) )
{
libvlc_media_player_t *p_mi = libvlc_playlist_get_media_player(p_instance, p_e);
if( p_mi )
{
......@@ -285,7 +280,6 @@ void libvlc_video_set_size( libvlc_instance_t *p_instance, int width, int height
}
libvlc_media_player_release(p_mi);
}
}
}
void libvlc_video_set_viewport( libvlc_instance_t *p_instance,
......
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