mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
Support for MSU SCLS (Screen Capture Lossless Codec) with SCLS.DLL
codecs.conf patch by AsSlowAsHell |asslowashell | g m a i l| win32.c patch by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26476 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
93f77b1eaf
commit
7c4e867c4d
@ -362,6 +362,14 @@ videocodec theora
|
||||
|
||||
;WIN32:
|
||||
|
||||
videocodec msuscls
|
||||
info "MSU Screen Capture Lossless Codec"
|
||||
status working
|
||||
fourcc SCLS
|
||||
driver vfw
|
||||
dll "SCLS.DLL"
|
||||
out BGR32,BGR24,BGR16 flip
|
||||
|
||||
videocodec cram
|
||||
info "Microsoft Video 1"
|
||||
comment "-vf palette required for 8bpp"
|
||||
|
@ -4837,6 +4837,22 @@ static int exp_decode_pointer(void *ptr)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Fake implementation of sdt::_Lockit::_Lockit(void) from msvcp60.dll
|
||||
Needed by SCLS.DLL */
|
||||
static int exp_0Lockit_dummy(void)
|
||||
{
|
||||
dbgprintf("0Lockit_dummy (??0_Lockit@std@@QAE@XZ)\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Fake implementation of sdt::_Lockit::~_Lockit(void) from msvcp60.dll
|
||||
Needed by SCLS.DLL */
|
||||
static int exp_1Lockit_dummy(void)
|
||||
{
|
||||
dbgprintf("1Lockit_dummy (??1_Lockit@std@@QAE@XZ)\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct exports
|
||||
{
|
||||
char name[64];
|
||||
@ -5276,6 +5292,11 @@ struct exports exp_msvcr80[]={
|
||||
FF(_decode_pointer, -1)
|
||||
};
|
||||
|
||||
struct exports exp_msvcp60[]={
|
||||
{"??0_Lockit@std@@QAE@XZ", -1, exp_0Lockit_dummy},
|
||||
{"??1_Lockit@std@@QAE@XZ", -1, exp_1Lockit_dummy}
|
||||
};
|
||||
|
||||
#define LL(X) \
|
||||
{#X".dll", sizeof(exp_##X)/sizeof(struct exports), exp_##X},
|
||||
|
||||
@ -5302,6 +5323,7 @@ struct libs libraries[]={
|
||||
LL(comdlg32)
|
||||
LL(shlwapi)
|
||||
LL(msvcr80)
|
||||
LL(msvcp60)
|
||||
};
|
||||
|
||||
static WIN_BOOL WINAPI ext_stubs(void)
|
||||
|
Loading…
Reference in New Issue
Block a user