summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-10-09 06:44:21 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-10-09 06:44:21 +0000
commit7b0fe59823dcd163e4876519e85f2aecbfc5b9c0 (patch)
treee9c4f910d040a73286d9d980f844ef564337a518 /src
parent499f17fbc1fe8b9cd74aa6bd26e490974ddec2cf (diff)
downloadxine-lib-7b0fe59823dcd163e4876519e85f2aecbfc5b9c0.tar.gz
xine-lib-7b0fe59823dcd163e4876519e85f2aecbfc5b9c0.tar.bz2
...it was so easy, but I still got it wrong
CVS patchset: 7026 CVS date: 2004/10/09 06:44:21
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/video_out.c6
1 files 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;