--- libvo/vo_gl.c.old 2002-11-11 18:20:26.000000000 +0300 +++ libvo/vo_gl.c 2002-12-25 00:04:05.000000000 +0300 @@ -58,6 +58,8 @@ static uint32_t texture_width; static uint32_t texture_height; +static int slice_height=1; + static void resize(int x,int y){ printf("[gl] Resize: %dx%d\n",x,y); glViewport( 0, 0, x, y ); @@ -278,7 +280,7 @@ //static inline uint32_t draw_slice_x11(uint8_t *src[], uint32_t slice_num) static uint32_t draw_slice(uint8_t *src[], int stride[], int w,int h,int x,int y) { - int i; + int y0=0; int dstride=w*BYTES_PP; // dstride=(dstride+15)&(~15); @@ -286,17 +288,29 @@ yuv2rgb(ImageData, src[0], src[1], src[2], w,h, dstride, stride[0],stride[1]); - for(i=0;iRGB...\n"); yuv2rgb(ImageData, src[0], src[1], src[2], image_width, image_height, image_width*BYTES_PP, image_width, image_width/2 ); - for(i=0;i