diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-08-16 22:51:39 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-08-16 22:51:39 +0000 |
commit | 745689c36b44c8c2710bbb6a09d26931682d9888 (patch) | |
tree | 5787319d73ab1b6395a882444043b35afb6ed417 /src/xine-engine/vo_scale.c | |
parent | 3595be7592f013cf2b9bd02d0bc6d4c99942771b (diff) | |
download | xine-lib-745689c36b44c8c2710bbb6a09d26931682d9888.tar.gz xine-lib-745689c36b44c8c2710bbb6a09d26931682d9888.tar.bz2 |
- syncfb simplified with helper functions (obs: i enabled zoom since it seemed to
work in my computer. to disable it again just change vo_scale_init parameter)
- some vidix files missing from my last update
- vo_scale must set displayed_xxx even without zoom support
CVS patchset: 2467
CVS date: 2002/08/16 22:51:39
Diffstat (limited to 'src/xine-engine/vo_scale.c')
-rw-r--r-- | src/xine-engine/vo_scale.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/vo_scale.c b/src/xine-engine/vo_scale.c index 592dc0d77..fb4621311 100644 --- a/src/xine-engine/vo_scale.c +++ b/src/xine-engine/vo_scale.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: vo_scale.c,v 1.2 2002/08/16 21:10:02 miguelfreitas Exp $ + * $Id: vo_scale.c,v 1.3 2002/08/16 22:51:40 miguelfreitas Exp $ * * Contains common code to calculate video scaling parameters. * In short, it will map frame dimensions to screen/window size. @@ -171,6 +171,8 @@ void vo_scale_compute_output_size (vo_scale_t *this) { this->output_width = (double) this->ideal_width * y_factor; this->output_height = (double) this->gui_height; } + this->displayed_width = this->delivered_width; + this->displayed_height = this->delivered_height; } this->output_xoffset = (this->gui_width - this->output_width) / 2 + this->gui_x; |