[vlc-commits] commit: Removed write only vout_thread_t::i_zoom. (Laurent Aimar )
git at videolan.org
git at videolan.org
Sun Apr 18 15:03:21 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Apr 18 04:00:14 2010 +0200| [6bffcd8055dd0728f2ef9c584af186bfcea89597] | committer: Laurent Aimar
Removed write only vout_thread_t::i_zoom.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6bffcd8055dd0728f2ef9c584af186bfcea89597
---
include/vlc_vout.h | 1 -
src/video_output/video_output.c | 1 -
src/video_output/vout_intf.c | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index 05bc701..6f1c982 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 d6370db..3b428f7 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 b4f354f..d09b961 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
More information about the vlc-commits
mailing list