--- main/libvo/vo_dxr3.c Tue Nov 13 17:01:56 2001 +++ main-dxr3branch/libvo/vo_dxr3.c Thu Nov 15 09:16:27 2001 @@ -86,7 +86,7 @@ /* Subpic code isn't working yet, don't set to ON unless you are really sure what you are doing */ - dxr3_subpic_set_mode( DXR3_SPU_MODE_ON ); + dxr3_subpic_set_mode( DXR3_SPU_MODE_OFF ); dxr3_subpic_set_palette( (char*)palette ); spubuf = malloc(53220); //53220bytes is the standardized max size of a subpic @@ -518,6 +518,15 @@ else if( img_format == IMGFMT_YUY2 ) { int tmp_size, out_size; + int x, y, w = v_width, h = v_height; + + for( y = 0; y < h; y++ ) + { + for( x = 0; x < w; x++ ) + { + } + } + tmp_size = out_size = avcodec_encode_video(&codec_context, outbuf, outbuf_size, &picture); while( out_size ) out_size -= dxr3_video_write( &outbuf[tmp_size-out_size], out_size ); @@ -613,7 +622,7 @@ if(format==IMGFMT_MPEGPES) return 0x2|0x4; #ifdef USE_LIBAVCODEC if(format==IMGFMT_YV12) return 0x1|0x4; - if(format==IMGFMT_YUY2) return 0x1|0x4; +// if(format==IMGFMT_YUY2) return 0x1|0x4; if(format==IMGFMT_BGR24) return 0x1|0x4; #else if(format==IMGFMT_YV12) {printf("You need to compile with libavcodec or ffmpeg.so to play this file!\n" ); return 0;}