diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-13 19:57:13 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-13 19:57:13 +0000 |
commit | 676d2c786d4e13d13ce6e876d5277b982c20b06a (patch) | |
tree | 8a38c8448625f1e2483212f2f7d026f8bbac237a /src/xine-engine | |
parent | b5a4b5b7c50ef17e948c21077e6b693b5581b244 (diff) | |
download | xine-lib-676d2c786d4e13d13ce6e876d5277b982c20b06a.tar.gz xine-lib-676d2c786d4e13d13ce6e876d5277b982c20b06a.tar.bz2 |
duplicating behaviour of XShm fixes the bug James discovered
(some values in vo_scale being 0)
CVS patchset: 2661
CVS date: 2002/09/13 19:57:13
Diffstat (limited to 'src/xine-engine')
-rw-r--r-- | src/xine-engine/vo_scale.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/xine-engine/vo_scale.c b/src/xine-engine/vo_scale.c index 6cd559e68..253fcbfa2 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.9 2002/09/10 14:06:33 jcdutton Exp $ + * $Id: vo_scale.c,v 1.10 2002/09/13 19:57:13 mroi Exp $ * * Contains common code to calculate video scaling parameters. * In short, it will map frame dimensions to screen/window size. @@ -245,11 +245,7 @@ int vo_scale_redraw_needed (vo_scale_t *this) { int gui_x, gui_y, gui_width, gui_height, gui_win_x, gui_win_y; double gui_pixel_aspect; int ret = 0; - if( (this->delivered_width == 0) || - (this->delivered_height == 0) || - (this->video_pixel_aspect == 0) ) { - return 0; - } + if( this->frame_output_cb ) { this->frame_output_cb (this->user_data, this->delivered_width, this->delivered_height, |