]> git.sesse.net Git - vlc/commitdiff
* src/video_output/video_output.c: a couple of fixes.
authorGildas Bazin <gbazin@videolan.org>
Thu, 14 Oct 2004 19:54:52 +0000 (19:54 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 14 Oct 2004 19:54:52 +0000 (19:54 +0000)
src/video_output/video_output.c

index 23e1df7098f3ed10c7f05d6b1fbc6b2f70c19b21..6c0737a8a3f7708056158ca1163869cea7129841 100644 (file)
@@ -143,7 +143,7 @@ vout_thread_t * __vout_Request ( vlc_object_t *p_this, vout_thread_t *p_vout,
          * performance reasons. */
         if( p_vout->b_filter_change )
         {
-            var_Get( p_this, "filter", &val );
+            var_Get( p_vout, "filter", &val );
             psz_filter_chain = val.psz_string;
 
             if( psz_filter_chain && !*psz_filter_chain )
@@ -1278,8 +1278,6 @@ typedef struct suxor_thread_t
 {
     VLC_COMMON_MEMBERS
     input_thread_t *p_input;
-    vout_thread_t *p_vout;
-    char *psz_mode;
 
 } suxor_thread_t;
 
@@ -1287,16 +1285,6 @@ static void SuxorRestartVideoES( suxor_thread_t *p_this )
 {
     vlc_value_t val;
 
-    if( p_this->psz_mode )
-    {
-        vlc_value_t val;
-        val.psz_string = p_this->psz_mode;
-        var_Set( p_this->p_vout, "deinterlace-mode", val );
-        free( p_this->psz_mode );
-    }
-
-    if( p_this->p_vout ) vlc_object_release( p_this->p_vout );
-
     /* Now restart current video stream */
     var_Get( p_this->p_input, "video-es", &val );
     if( val.i_int >= 0 )