[vlc-devel] commit: Vout-filter modification for autoscaling	(Joseph Tulou )
    git version control 
    git at videolan.org
       
    Mon Feb  2 03:50:31 CET 2009
    
    
  
vlc | branch: master | Joseph Tulou <brezhoneg1 at yahoo.fr> | Fri Jan 30 17:29:59 2009 +0100| [65892a479f9994e8dd49ded2ff851a5e98b85ae8] | committer: Jean-Baptiste Kempf 
Vout-filter modification for autoscaling
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65892a479f9994e8dd49ded2ff851a5e98b85ae8
---
 modules/video_filter/filter_common.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/video_filter/filter_common.h b/modules/video_filter/filter_common.h
index 2efc052..ad1a976 100644
--- a/modules/video_filter/filter_common.h
+++ b/modules/video_filter/filter_common.h
@@ -90,11 +90,15 @@ static int SetParentVal( vlc_object_t *p_this, char const *psz_var,
 
 #define ADD_PARENT_CALLBACKS( handler ) \
     var_AddCallback( p_vout, "fullscreen", handler, NULL );                   \
+    var_AddCallback( p_vout, "autoscale", handler, NULL );                    \
+    var_AddCallback( p_vout, "scale", handler, NULL );                 \
     var_AddCallback( p_vout, "aspect-ratio", handler, NULL );                 \
     var_AddCallback( p_vout, "crop", handler, NULL );
 
 #define DEL_PARENT_CALLBACKS( handler ) \
     var_DelCallback( p_vout, "fullscreen", handler, NULL );                   \
+    var_DelCallback( p_vout, "autoscale", handler, NULL );                    \
+    var_DelCallback( p_vout, "scale", handler, NULL );                 \
     var_DelCallback( p_vout, "aspect-ratio", handler, NULL );                 \
     var_DelCallback( p_vout, "crop", handler, NULL );
 
    
    
More information about the vlc-devel
mailing list