mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
no native support for I420 in G200
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5337 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+1
-1
@@ -792,7 +792,7 @@ if(config->format==MGA_VID_FORMAT_YV12
|
||||
else
|
||||
baseadrofs = (((ofstop*regs.besviscal)/2)>>16)*regs.bespitch;
|
||||
|
||||
if(config->format==MGA_VID_FORMAT_YV12){
|
||||
if(config->format==MGA_VID_FORMAT_YV12 || !is_g400){
|
||||
regs.besa1corg = (uint32_t) mga_src_base + baseadrofs + regs.bespitch * sh ;
|
||||
regs.besa2corg = (uint32_t) mga_src_base + baseadrofs + 1*frame_size + regs.bespitch * sh;
|
||||
regs.besb1corg = (uint32_t) mga_src_base + baseadrofs + 2*frame_size + regs.bespitch * sh;
|
||||
|
||||
Reference in New Issue
Block a user