]> git.sesse.net Git - vlc/commitdiff
Removed write only vout_thread_t::i_zoom.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 18 Apr 2010 02:00:14 +0000 (04:00 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 18 Apr 2010 12:58:37 +0000 (14:58 +0200)
include/vlc_vout.h
src/video_output/video_output.c
src/video_output/vout_intf.c

index 05bc7011c2e6f1d9bec610f42df92ce4560bcdca..6f1c9820d50e6e4b882fb1f6b941268b47d796f4 100644 (file)
@@ -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 */
 
     /**@}*/
 
index d6370dbbf78b285b1d7de0972a907ffa2fce3bae..3b428f757c267a8a5d59c75043fb51a18180d13c 100644 (file)
@@ -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;
index b4f354fbd22e1b35f5021cdd0be903164250024b..d09b961855762a9416a6809667d1dc4f42c9daa5 100644 (file)
@@ -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