diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-01 10:01:56 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-01 10:01:56 +0000 |
commit | 6d591ec95976e2bc2a310450aa8c5e360e8f9188 (patch) | |
tree | 4b79839b5a4c789a2dd7d21c4a868a2d8e7ca926 /dec_video.c | |
parent | 1d689ae3a30b16457f8d9f31741002dcf8d9c261 (diff) | |
download | mpv-6d591ec95976e2bc2a310450aa8c5e360e8f9188.tar.bz2 mpv-6d591ec95976e2bc2a310450aa8c5e360e8f9188.tar.xz |
Optimize DirectShow decoding with vidix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4458 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r-- | dec_video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dec_video.c b/dec_video.c index 4ce807f43c..d310adfe39 100644 --- a/dec_video.c +++ b/dec_video.c @@ -502,7 +502,8 @@ switch(sh_video->codec->driver){ 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); |