Commit 65892a47 authored by Joseph Tulou's avatar Joseph Tulou Committed by Jean-Baptiste Kempf

Vout-filter modification for autoscaling

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 422908a7
...@@ -90,11 +90,15 @@ static int SetParentVal( vlc_object_t *p_this, char const *psz_var, ...@@ -90,11 +90,15 @@ static int SetParentVal( vlc_object_t *p_this, char const *psz_var,
#define ADD_PARENT_CALLBACKS( handler ) \ #define ADD_PARENT_CALLBACKS( handler ) \
var_AddCallback( p_vout, "fullscreen", handler, NULL ); \ 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, "aspect-ratio", handler, NULL ); \
var_AddCallback( p_vout, "crop", handler, NULL ); var_AddCallback( p_vout, "crop", handler, NULL );
#define DEL_PARENT_CALLBACKS( handler ) \ #define DEL_PARENT_CALLBACKS( handler ) \
var_DelCallback( p_vout, "fullscreen", handler, NULL ); \ 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, "aspect-ratio", handler, NULL ); \
var_DelCallback( p_vout, "crop", handler, NULL ); var_DelCallback( p_vout, "crop", handler, NULL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment