changeset 4457:49dcbd03436d

Optimize DirectShow decoding with vidix
author nick
date Fri, 01 Feb 2002 10:01:56 +0000
parents 52929f735c8f
children 1e702ff28c77
files dec_video.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);