1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00

some newer rv20 variants also uses custommsg 0x24 to set codec subtype

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7084 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-08-24 23:06:38 +00:00
parent f82892afd2
commit a333a19da7

View File

@ -163,7 +163,7 @@ static int init(sh_video_t *sh){
return 0;
}
// setup rv30 codec (codec sub-type and image dimensions):
if(extrahdr[1]>=0x30000000){
if(extrahdr[1]>=0x20200002){
unsigned long cmsg24[4]={sh->disp_w,sh->disp_h,sh->disp_w,sh->disp_h};
unsigned long cmsg_data[3]={0x24,1+((extrahdr[0]>>16)&7),&cmsg24};
(*rvyuv_custom_message)(cmsg_data,sh->context);