From 7b0fe59823dcd163e4876519e85f2aecbfc5b9c0 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 9 Oct 2004 06:44:21 +0000 Subject: ...it was so easy, but I still got it wrong CVS patchset: 7026 CVS date: 2004/10/09 06:44:21 --- src/xine-engine/video_out.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 21c8f112e..5495a029f 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.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: video_out.c,v 1.208 2004/10/08 21:08:26 mroi Exp $ + * $Id: video_out.c,v 1.209 2004/10/09 06:44:21 mroi Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -432,7 +432,7 @@ static int vo_frame_draw (vo_frame_t *img, xine_stream_t *stream) { if (!img->bad_frame) { - int img_already_locked = 1; + int img_already_locked = 0; /* perform cropping when vo driver does not support it */ if( (img->crop_left || img->crop_top || @@ -441,7 +441,7 @@ static int vo_frame_draw (vo_frame_t *img, xine_stream_t *stream) { !(this->driver->get_capabilities (this->driver) & VO_CAP_CROP)) ) { if (img->format == XINE_IMGFMT_YV12 || img->format == XINE_IMGFMT_YUY2) { img = crop_frame( img->port, img ); - img_already_locked = 0; + img_already_locked = 1; } else { /* noone knows how to crop this, so we can only ignore the cropping */ img->crop_left = 0; -- cgit v1.2.3