[vlc-commits] commit: Removed unused "intf-change" vout variable. (Laurent Aimar )

git at videolan.org git at videolan.org
Mon Apr 26 22:01:44 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Apr 26 19:37:01 2010 +0200| [e4e3c67eb98a386a8f5386e429d27369eb124b0f] | committer: Laurent Aimar 

Removed unused "intf-change" vout variable.

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

 src/video_output/video_output.c |    2 --
 src/video_output/vout_intf.c    |    5 -----
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index c7b248a..81ea0c9 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1077,8 +1077,6 @@ static int FilterCallback( vlc_object_t *p_this, char const *psz_cmd,
         return VLC_EGENERIC;
     }
 
-    var_SetBool( p_vout, "intf-change", true );
-
     /* Modify input as well because the vout might have to be restarted */
     var_Create( p_input, "vout-filter", VLC_VAR_STRING );
     var_SetString( p_input, "vout-filter", newval.psz_string );
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 3fcc047..643c305 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -359,9 +359,6 @@ void vout_IntfInit( vout_thread_t *p_vout )
     var_Create( p_vout, "mouse-moved", VLC_VAR_COORDS );
     var_Create( p_vout, "mouse-clicked", VLC_VAR_COORDS );
     var_Create( p_vout, "mouse-object", VLC_VAR_BOOL );
-
-    var_Create( p_vout, "intf-change", VLC_VAR_BOOL );
-    var_SetBool( p_vout, "intf-change", true );
 }
 
 /*****************************************************************************
@@ -899,8 +896,6 @@ static int FullscreenCallback( vlc_object_t *p_this, char const *psz_cmd,
         return VLC_SUCCESS; /* no-op */
     p_vout->p->i_changes |= VOUT_FULLSCREEN_CHANGE;
 
-    val.b_bool = true;
-    var_Set( p_vout, "intf-change", val );
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list