[Mplayer-cvslog] CVS: main/libvo vo_gif89a.c,1.5,1.6 vo_jpeg.c,1.6,1.7
Arpi of Ize
arpi at mplayerhq.hu
Sun Sep 22 20:43:57 CEST 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv25418
Modified Files:
vo_gif89a.c vo_jpeg.c
Log Message:
U-V swapping fixed, patch by Joey Parrish <joey at yunamusic.com>
Index: vo_gif89a.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gif89a.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vo_gif89a.c 22 Sep 2002 02:33:26 -0000 1.5
+++ vo_gif89a.c 22 Sep 2002 18:43:53 -0000 1.6
@@ -79,7 +79,7 @@
case IMGFMT_RGB24:
break;
case IMGFMT_YV12:
- yuv2rgb_init(24, MODE_RGB);
+ yuv2rgb_init(24, MODE_BGR);
image_data = malloc(image_width*image_height*3);
break;
default:
Index: vo_jpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_jpeg.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vo_jpeg.c 22 Sep 2002 02:33:26 -0000 1.6
+++ vo_jpeg.c 22 Sep 2002 18:43:53 -0000 1.7
@@ -191,17 +191,6 @@
static uint32_t draw_slice( uint8_t *src[],int stride[],int w,int h,int x,int y )
{
- // hack: swap planes for I420 ;) -- alex
- if ((image_format == IMGFMT_IYUV) || (image_format == IMGFMT_I420))
- {
- uint8_t *src_i420[3];
-
- src_i420[0]=src[0];
- src_i420[1]=src[2];
- src_i420[2]=src[1];
- src=src_i420;
- }
-
if (scale_srcW)
{
uint8_t *dst[3]={image_data, NULL, NULL};
More information about the MPlayer-cvslog
mailing list