# HG changeset patch # User nick # Date 1012557716 0 # Node ID 49dcbd03436d51e71fc9e597506a6d2c3c4e0e9c # Parent 52929f735c8fc2b98432742b3940d890be9f31ee Optimize DirectShow decoding with vidix diff -r 52929f735c8f -r 49dcbd03436d dec_video.c --- a/dec_video.c Fri Feb 01 09:32:20 2002 +0000 +++ b/dec_video.c Fri Feb 01 10:01:56 2002 +0000 @@ -502,7 +502,8 @@ sh_video->our_out_buffer = (char*)memalign(64,sh_video->disp_w*sh_video->disp_h*bpp/8); // FIXME!!! #endif - + /* Warning: these pitches tested only with YUY2 fourcc */ + pitches[0] = 16; pitches[1] = pitches[2] = 8; DS_SetAttr_DivX("Quality",divx_quality); DS_VideoDecoder_StartInternal(ds_vdec);