[vlc-devel] commit: Do not clutter the instance with the fullscreen status ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Feb 10 18:56:31 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb 10 18:52:56 2010 +0200| [7343174b7eb04f3ec6e3fc045e65402f21f02ee8] | committer: Rémi Denis-Courmont 

Do not clutter the instance with the fullscreen status

This fixes use of multiple inputs with LibVLC. This also fixes a
theoretical crash if you toggle fullscreen 2^32 times.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7343174b7eb04f3ec6e3fc045e65402f21f02ee8
---

 src/video_output/vout_intf.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 4577b1e..32115eb 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -984,10 +984,6 @@ static int FullscreenCallback( vlc_object_t *p_this, char const *psz_cmd,
         return VLC_SUCCESS; /* no-op */
     p_vout->i_changes |= VOUT_FULLSCREEN_CHANGE;
 
-    /* Modify libvlc as well because the vout might have to be restarted */
-    var_Create( p_vout->p_libvlc, "fullscreen", VLC_VAR_BOOL );
-    var_Set( p_vout->p_libvlc, "fullscreen", newval );
-
     val.b_bool = true;
     var_Set( p_vout, "intf-change", val );
     return VLC_SUCCESS;




More information about the vlc-devel mailing list