Set both dwVersionICM and dwVersion to ICVERSION in Wine builtin
codecs.
This commit is contained in:
parent
1fc760d4a7
commit
19021aab0d
|
@ -921,8 +921,8 @@ static LRESULT ICCVID_GetInfo( ICCVID_Info *info, ICINFO *icinfo, DWORD dwSize )
|
|||
icinfo->fccType = ICTYPE_VIDEO;
|
||||
icinfo->fccHandler = info ? info->dwMagic : ICCVID_MAGIC;
|
||||
icinfo->dwFlags = 0;
|
||||
icinfo->dwVersion = 0x00010000; /* Version 1.0 build 0 */
|
||||
icinfo->dwVersionICM = 0x01040000; /* Version 1.4 build 0 */
|
||||
icinfo->dwVersion = ICVERSION;
|
||||
icinfo->dwVersionICM = ICVERSION;
|
||||
|
||||
LoadStringW(ICCVID_hModule, IDS_NAME, icinfo->szName, sizeof(icinfo->szName)/sizeof(WCHAR));
|
||||
LoadStringW(ICCVID_hModule, IDS_DESCRIPTION, icinfo->szDescription, sizeof(icinfo->szDescription)/sizeof(WCHAR));
|
||||
|
|
|
@ -1167,8 +1167,8 @@ static LRESULT GetInfo(CodecInfo *pi, ICINFO *icinfo, DWORD dwSize)
|
|||
icinfo->fccType = ICTYPE_VIDEO;
|
||||
icinfo->fccHandler = (pi != NULL ? pi->fccHandler : FOURCC_MRLE);
|
||||
icinfo->dwFlags = VIDCF_QUALITY | VIDCF_TEMPORAL | VIDCF_CRUNCH | VIDCF_FASTTEMPORALC;
|
||||
icinfo->dwVersion = MSRLE32_VERSION;
|
||||
icinfo->dwVersionICM = 0x01040000; /* Version 1.4 build 0 */
|
||||
icinfo->dwVersion = ICVERSION;
|
||||
icinfo->dwVersionICM = ICVERSION;
|
||||
|
||||
LoadStringW(MSRLE32_hModule, IDS_NAME, icinfo->szName, sizeof(icinfo->szName)/sizeof(WCHAR));
|
||||
LoadStringW(MSRLE32_hModule, IDS_DESCRIPTION, icinfo->szDescription, sizeof(icinfo->szDescription)/sizeof(WCHAR));
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#define IDS_DESCRIPTION 101
|
||||
#define IDS_ABOUT 102
|
||||
|
||||
#define MSRLE32_VERSION 0x00010000 /* Version 1.0 build 0 */
|
||||
#define MSRLE32_DEFAULTQUALITY (75 * ICQUALITY_HIGH) / 100
|
||||
|
||||
#define FOURCC_RLE mmioFOURCC('R','L','E',' ')
|
||||
|
|
|
@ -465,8 +465,8 @@ static LRESULT CRAM_GetInfo( Msvideo1Context *info, ICINFO *icinfo, DWORD dwSize
|
|||
icinfo->fccType = ICTYPE_VIDEO;
|
||||
icinfo->fccHandler = info ? info->dwMagic : CRAM_MAGIC;
|
||||
icinfo->dwFlags = 0;
|
||||
icinfo->dwVersion = 0x00010000; /* Version 1.0 build 0 */
|
||||
icinfo->dwVersionICM = 0x01040000; /* Version 1.4 build 0 */
|
||||
icinfo->dwVersion = ICVERSION;
|
||||
icinfo->dwVersionICM = ICVERSION;
|
||||
|
||||
LoadStringW(MSVIDC32_hModule, IDS_NAME, icinfo->szName, sizeof(icinfo->szName)/sizeof(WCHAR));
|
||||
LoadStringW(MSVIDC32_hModule, IDS_DESCRIPTION, icinfo->szDescription, sizeof(icinfo->szDescription)/sizeof(WCHAR));
|
||||
|
|
|
@ -185,7 +185,7 @@ static BOOL ICInfo_enum_handler(const char *drv, int nr, void *param)
|
|||
lpicinfo->fccHandler = fccHandler;
|
||||
lpicinfo->dwFlags = 0;
|
||||
lpicinfo->dwVersion = 0;
|
||||
lpicinfo->dwVersionICM = 0x104;
|
||||
lpicinfo->dwVersionICM = ICVERSION;
|
||||
lpicinfo->szName[0] = 0;
|
||||
lpicinfo->szDescription[0] = 0;
|
||||
MultiByteToWideChar(CP_ACP, 0, drv + 10, -1, lpicinfo->szDriver,
|
||||
|
|
|
@ -42,6 +42,8 @@ typedef struct IAVIEditStream *PAVIEDITSTREAM;
|
|||
|
||||
/* Installable Compressor Manager */
|
||||
|
||||
#define ICVERSION 0x0104
|
||||
|
||||
DECLARE_HANDLE(HIC);
|
||||
|
||||
/* error return codes */
|
||||
|
|
Loading…
Reference in New Issue