From: Laurent Aimar Date: Sun, 18 Apr 2010 02:00:14 +0000 (+0200) Subject: Removed write only vout_thread_t::i_zoom. X-Git-Tag: 1.2.0-pre1~6977 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6bffcd8055dd0728f2ef9c584af186bfcea89597;p=vlc Removed write only vout_thread_t::i_zoom. --- diff --git a/include/vlc_vout.h b/include/vlc_vout.h index 05bc7011c2..6f1c9820d5 100644 --- a/include/vlc_vout.h +++ b/include/vlc_vout.h @@ -103,7 +103,6 @@ struct vout_thread_t \see \ref vout_changes */ unsigned b_fullscreen:1; /**< toogle fullscreen display */ unsigned b_on_top:1; /**< stay always on top of other windows */ - int i_zoom; /**< scaling factor if no auto */ /**@}*/ diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c index d6370dbbf7..3b428f757c 100644 --- a/src/video_output/video_output.c +++ b/src/video_output/video_output.c @@ -365,7 +365,6 @@ vout_thread_t * vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt ) /* Initialize misc stuff */ p_vout->i_changes = 0; - p_vout->i_zoom = ZOOM_FP_FACTOR; p_vout->b_fullscreen = 0; p_vout->p->render_time = 10; p_vout->p->c_fps_samples = 0; diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c index b4f354fbd2..d09b961855 100644 --- a/src/video_output/vout_intf.c +++ b/src/video_output/vout_intf.c @@ -329,7 +329,6 @@ void vout_IntfInit( vout_thread_t *p_vout ) text.psz_string = _("Scale factor"); var_Change( p_vout, "scale", VLC_VAR_SETTEXT, &text, NULL ); var_AddCallback( p_vout, "scale", ScalingCallback, NULL ); - p_vout->i_zoom = (int)( ZOOM_FP_FACTOR * var_GetFloat( p_vout, "scale" ) ); /* Add a variable to indicate if the window should be on top of others */ var_Create( p_vout, "video-on-top", VLC_VAR_BOOL | VLC_VAR_DOINHERIT