mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 19:52:14 +00:00
CRAM codec support added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@125 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ca3170c35f
commit
3606f8faa1
9
codecs.c
9
codecs.c
@ -39,6 +39,8 @@ char* get_vids_codec_name(){
|
|||||||
case mmioFOURCC('d', 'i', 'v', '3'):
|
case mmioFOURCC('d', 'i', 'v', '3'):
|
||||||
case mmioFOURCC('D', 'I', 'V', '4'):
|
case mmioFOURCC('D', 'I', 'V', '4'):
|
||||||
case mmioFOURCC('d', 'i', 'v', '4'):
|
case mmioFOURCC('d', 'i', 'v', '4'):
|
||||||
|
case mmioFOURCC('D', 'I', 'V', '5'):
|
||||||
|
case mmioFOURCC('d', 'i', 'v', '5'):
|
||||||
case mmioFOURCC('M', 'P', '4', '1'):
|
case mmioFOURCC('M', 'P', '4', '1'):
|
||||||
case mmioFOURCC('m', 'p', '4', '1'):
|
case mmioFOURCC('m', 'p', '4', '1'):
|
||||||
printf("Video in DivX ;-) format\n");
|
printf("Video in DivX ;-) format\n");
|
||||||
@ -74,6 +76,13 @@ char* get_vids_codec_name(){
|
|||||||
avi_header.yuv_supported=1;
|
avi_header.yuv_supported=1;
|
||||||
return "iccvid.dll";
|
return "iccvid.dll";
|
||||||
|
|
||||||
|
case mmioFOURCC('c', 'r', 'a', 'm'):
|
||||||
|
case mmioFOURCC('C', 'R', 'A', 'M'):
|
||||||
|
printf("Video in CRAM format\n");
|
||||||
|
avi_header.no_32bpp_support=1;
|
||||||
|
//avi_header.yuv_supported=1;
|
||||||
|
return "msvidc32.dll";
|
||||||
|
|
||||||
//*** Only 16bit .DLL available (can't load under linux) ***
|
//*** Only 16bit .DLL available (can't load under linux) ***
|
||||||
// case mmioFOURCC('V', 'C', 'R', '1'):
|
// case mmioFOURCC('V', 'C', 'R', '1'):
|
||||||
// printf("Video in ATI VCR1 format\n");
|
// printf("Video in ATI VCR1 format\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user