]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/mosaic.c
* fix the getlength. It needs to be after the SETUP, so that liveMedia can correct...
[vlc] / modules / video_filter / mosaic.c
index fbca6ee34fd1dfd278a103aabf3a83bd4a85b2dc..da42df8471ff25ac9018c309b71ce490d69c5846 100644 (file)
@@ -864,18 +864,20 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
     }
     else if( !strcmp( psz_var, "mosaic-order" ) )
     {
+        char *psz_order;
+        int i_index;
         vlc_mutex_lock( &p_sys->lock );
         msg_Dbg( p_this, "Changing mosaic order to %s", newval.psz_string );
 
-        char *psz_order;
-        int i_index;
         p_sys->i_order_length = 0;
         p_sys->ppsz_order = NULL;
         psz_order = newval.psz_string;
 
         while( p_sys->i_order_length-- )
         {
+#if 0
             printf("%d\n", p_sys->ppsz_order);
+#endif
             free( p_sys->ppsz_order );
         }
         if( psz_order[0] != 0 )