diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-06-01 17:48:18 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-06-01 17:48:18 +0100 |
commit | 40bb772fadfdad2d08c4b5c7c8c02d9fdc1963b5 (patch) | |
tree | 456782eff5ac6114203f065cd8f071391bdfacf6 | |
parent | b800951399e9ea2d83dabac78e554cf196d4cfc5 (diff) | |
download | xine-lib-40bb772fadfdad2d08c4b5c7c8c02d9fdc1963b5.tar.gz xine-lib-40bb772fadfdad2d08c4b5c7c8c02d9fdc1963b5.tar.bz2 |
Port Simon Farnsworth's xv deinterlacing fix to xcbxv.
-rw-r--r-- | src/video_out/video_out_xcbxv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video_out/video_out_xcbxv.c b/src/video_out/video_out_xcbxv.c index 432d93416..68b6a934b 100644 --- a/src/video_out/video_out_xcbxv.c +++ b/src/video_out/video_out_xcbxv.c @@ -443,17 +443,17 @@ static void xv_deinterlace_frame (xv_driver_t *this) { else recent_bitmaps[i] = NULL; - deinterlace_yuv( this->deinterlace_frame.image+frame->width*frame->height, - recent_bitmaps, frame->width/2, frame->height/2, this->deinterlace_method ); + deinterlace_yuv( this->deinterlace_frame.image + this->deinterlace_frame.xv_width * frame->height, + recent_bitmaps, this->deinterlace_frame.xv_width/2, frame->height/2, this->deinterlace_method ); for( i = 0; i < VO_NUM_RECENT_FRAMES; i++ ) if( this->recent_frames[i] && this->recent_frames[i]->width == frame->width && this->recent_frames[i]->height == frame->height ) - recent_bitmaps[i] = this->recent_frames[i]->image + frame->width*frame->height*5/4; + recent_bitmaps[i] = this->recent_frames[i]->image + this->deinterlace_frame.xv_width*frame->height*5/4; else recent_bitmaps[i] = NULL; - deinterlace_yuv( this->deinterlace_frame.image+frame->width*frame->height*5/4, - recent_bitmaps, frame->width/2, frame->height/2, this->deinterlace_method ); + deinterlace_yuv( this->deinterlace_frame.image + this->deinterlace_frame.xv_width*frame->height*5/4, + recent_bitmaps, this->deinterlace_frame.xv_width/2, frame->height/2, this->deinterlace_method ); #else @@ -472,7 +472,7 @@ static void xv_deinterlace_frame (xv_driver_t *this) { recent_bitmaps[i] = NULL; deinterlace_yuv( this->deinterlace_frame.image, recent_bitmaps, - frame->width, frame->height, this->deinterlace_method ); + this->deinterlace_frame.xv_width, frame->height, this->deinterlace_method ); } else { /* |