Commit 662da2b3 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc: Properly release vout. Pointed out by Lukas.

parent 6b718fb8
...@@ -96,6 +96,8 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi, ...@@ -96,6 +96,8 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi,
libvlc_exception_raise( p_e, libvlc_exception_raise( p_e,
"Unexpected error while looking up fullscreen value" ); "Unexpected error while looking up fullscreen value" );
vlc_object_release( p_vout1 );
return val.b_bool == true ? 1 : 0; return val.b_bool == true ? 1 : 0;
} }
......
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