Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
dd3d68e5
Commit
dd3d68e5
authored
Mar 08, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineqtdecoder: Reimplement COM registration and vending locally.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
74dc0c5d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
232 additions
and
133 deletions
+232
-133
Makefile.in
dlls/wineqtdecoder/Makefile.in
+3
-1
main.c
dlls/wineqtdecoder/main.c
+177
-111
qtsplitter.c
dlls/wineqtdecoder/qtsplitter.c
+7
-9
qtvdecoder.c
dlls/wineqtdecoder/qtvdecoder.c
+8
-12
wineqtdecoder_classes.idl
dlls/wineqtdecoder/wineqtdecoder_classes.idl
+37
-0
No files found.
dlls/wineqtdecoder/Makefile.in
View file @
dd3d68e5
...
@@ -4,7 +4,6 @@ EXTRALIBS = $(QUICKTIME_LIBS)
...
@@ -4,7 +4,6 @@ EXTRALIBS = $(QUICKTIME_LIBS)
PARENTSRC
=
../strmbase
PARENTSRC
=
../strmbase
C_SRCS
=
\
C_SRCS
=
\
dllfunc.c
\
filter.c
\
filter.c
\
main.c
\
main.c
\
mediatype.c
\
mediatype.c
\
...
@@ -20,3 +19,6 @@ C_SRCS = \
...
@@ -20,3 +19,6 @@ C_SRCS = \
RC_SRCS
=
\
RC_SRCS
=
\
rsrc.rc
rsrc.rc
IDL_SRCS
=
\
wineqtdecoder_classes.idl
dlls/wineqtdecoder/main.c
View file @
dd3d68e5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
* DirectShow filter for QuickTime Toolkit on Mac OS X
* DirectShow filter for QuickTime Toolkit on Mac OS X
*
*
* Copyright (C) 2010 Aric Stewart, CodeWeavers
* Copyright (C) 2010 Aric Stewart, CodeWeavers
* Copyright (C) 2019 Zebediah Figura
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
@@ -40,158 +41,223 @@
...
@@ -40,158 +41,223 @@
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "wineqtdecoder_classes.h"
#include "initguid.h"
#include "initguid.h"
DEFINE_GUID
(
CLSID_QTVDecoder
,
0x683DDACB
,
0x4354
,
0x490C
,
0xA0
,
0x58
,
0xE0
,
0x5A
,
0xD0
,
0xF2
,
0x05
,
0x37
);
DEFINE_GUID
(
CLSID_QTSplitter
,
0xD0E70E49
,
0x5927
,
0x4894
,
0xA3
,
0x86
,
0x35
,
0x94
,
0x60
,
0xEE
,
0x87
,
0xC9
);
DEFINE_GUID
(
WINESUBTYPE_QTSplitter
,
0xFFFFFFFF
,
0x5927
,
0x4894
,
0xA3
,
0x86
,
0x35
,
0x94
,
0x60
,
0xEE
,
0x87
,
0xC9
);
DEFINE_GUID
(
WINESUBTYPE_QTSplitter
,
0xFFFFFFFF
,
0x5927
,
0x4894
,
0xA3
,
0x86
,
0x35
,
0x94
,
0x60
,
0xEE
,
0x87
,
0xC9
);
WINE_DEFAULT_DEBUG_CHANNEL
(
qtdecoder
);
WINE_DEFAULT_DEBUG_CHANNEL
(
qtdecoder
);
extern
IUnknown
*
CALLBACK
QTVDecoder_create
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
);
extern
HRESULT
video_decoder_create
(
IUnknown
*
outer
,
IUnknown
**
out
);
extern
IUnknown
*
CALLBACK
QTSplitter_create
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
);
extern
HRESULT
qt_splitter_create
(
IUnknown
*
outer
,
IUnknown
**
out
);
static
const
WCHAR
wQTVName
[]
=
static
const
WCHAR
wQTVName
[]
=
{
'Q'
,
'T'
,
' '
,
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
' '
,
'D'
,
'e'
,
'c'
,
'o'
,
'd'
,
'e'
,
'r'
,
0
};
{
'Q'
,
'T'
,
' '
,
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
' '
,
'D'
,
'e'
,
'c'
,
'o'
,
'd'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
wQTDName
[]
=
static
const
WCHAR
wQTDName
[]
=
{
'Q'
,
'T'
,
' '
,
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
' '
,
'D'
,
'e'
,
'm'
,
'u'
,
'x'
,
0
};
{
'Q'
,
'T'
,
' '
,
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
' '
,
'D'
,
'e'
,
'm'
,
'u'
,
'x'
,
0
};
static
WCHAR
wNull
[]
=
{
'\0'
};
static
HINSTANCE
wineqtdecoder_instance
;
static
const
AMOVIESETUP_MEDIATYPE
amfMTvideo
[]
=
{
{
&
MEDIATYPE_Video
,
&
MEDIASUBTYPE_NULL
}
};
BOOL
WINAPI
DllMain
(
HINSTANCE
instance
,
DWORD
reason
,
void
*
reserved
)
static
const
AMOVIESETUP_MEDIATYPE
amfMTaudio
[]
=
{
{
{
&
MEDIATYPE_Audio
,
&
MEDIASUBTYPE_NULL
}
};
if
(
reason
==
DLL_PROCESS_ATTACH
)
static
const
AMOVIESETUP_MEDIATYPE
amfMTstream
[]
=
{
{
&
MEDIATYPE_Stream
,
&
WINESUBTYPE_QTSplitter
},
{
&
MEDIATYPE_Stream
,
&
MEDIASUBTYPE_NULL
}
};
static
const
AMOVIESETUP_PIN
amfQTVPin
[]
=
{
{
wNull
,
FALSE
,
FALSE
,
FALSE
,
FALSE
,
&
GUID_NULL
,
NULL
,
1
,
amfMTvideo
},
{
{
wNull
,
wineqtdecoder_instance
=
instance
;
FALSE
,
TRUE
,
FALSE
,
FALSE
,
DisableThreadLibraryCalls
(
instance
);
&
GUID_NULL
,
}
NULL
,
return
TRUE
;
1
,
}
amfMTvideo
},
struct
class_factory
{
IClassFactory
IClassFactory_iface
;
HRESULT
(
*
create_instance
)(
IUnknown
*
outer
,
IUnknown
**
out
);
};
};
static
const
AMOVIESETUP_PIN
amfQTDPin
[]
=
static
inline
struct
class_factory
*
impl_from_IClassFactory
(
IClassFactory
*
iface
)
{
{
wNull
,
{
FALSE
,
FALSE
,
FALSE
,
FALSE
,
return
CONTAINING_RECORD
(
iface
,
struct
class_factory
,
IClassFactory_iface
);
&
GUID_NULL
,
}
NULL
,
2
,
static
HRESULT
WINAPI
class_factory_QueryInterface
(
IClassFactory
*
iface
,
REFIID
iid
,
void
**
out
)
amfMTstream
{
},
TRACE
(
"iface %p, iid %s, out %p.
\n
"
,
iface
,
debugstr_guid
(
iid
),
out
);
if
(
IsEqualGUID
(
iid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
iid
,
&
IID_IClassFactory
))
{
{
wNull
,
*
out
=
iface
;
FALSE
,
TRUE
,
TRUE
,
FALSE
,
IClassFactory_AddRef
(
iface
);
&
GUID_NULL
,
return
S_OK
;
NULL
,
}
1
,
amfMTvideo
*
out
=
NULL
;
},
WARN
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
));
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
class_factory_AddRef
(
IClassFactory
*
iface
)
{
return
2
;
}
static
ULONG
WINAPI
class_factory_Release
(
IClassFactory
*
iface
)
{
return
1
;
}
static
HRESULT
WINAPI
class_factory_CreateInstance
(
IClassFactory
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
struct
class_factory
*
factory
=
impl_from_IClassFactory
(
iface
);
IUnknown
*
unk
;
HRESULT
hr
;
TRACE
(
"iface %p, outer %p, iid %s, out %p.
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
if
(
outer
&&
!
IsEqualGUID
(
iid
,
&
IID_IUnknown
))
return
E_NOINTERFACE
;
*
out
=
NULL
;
if
(
SUCCEEDED
(
hr
=
factory
->
create_instance
(
outer
,
&
unk
)))
{
{
wNull
,
hr
=
IUnknown_QueryInterface
(
unk
,
iid
,
out
);
FALSE
,
TRUE
,
TRUE
,
FALSE
,
IUnknown_Release
(
unk
);
&
GUID_NULL
,
}
NULL
,
return
hr
;
1
,
}
amfMTaudio
},
};
static
const
AMOVIESETUP_FILTER
amfQTV
=
static
HRESULT
WINAPI
class_factory_LockServer
(
IClassFactory
*
iface
,
BOOL
lock
)
{
&
CLSID_QTVDecoder
,
{
wQTVName
,
TRACE
(
"iface %p, lock %d.
\n
"
,
iface
,
lock
);
MERIT_NORMAL
-
1
,
return
S_OK
;
2
,
}
amfQTVPin
};
static
const
AMOVIESETUP_FILTER
amfQTD
=
static
const
IClassFactoryVtbl
class_factory_vtbl
=
{
&
CLSID_QTSplitter
,
{
wQTDName
,
class_factory_QueryInterface
,
MERIT_NORMAL
-
1
,
class_factory_AddRef
,
3
,
class_factory_Release
,
amfQTDPin
class_factory_CreateInstance
,
class_factory_LockServer
,
};
};
FactoryTemplate
const
g_Templates
[]
=
{
static
struct
class_factory
qt_splitter_cf
=
{{
&
class_factory_vtbl
},
qt_splitter_create
};
static
struct
class_factory
video_decoder_cf
=
{{
&
class_factory_vtbl
},
video_decoder_create
};
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
clsid
,
REFIID
iid
,
void
**
out
)
{
struct
class_factory
*
factory
;
HRESULT
hr
;
TRACE
(
"clsid %s, iid %s, out %p.
\n
"
,
debugstr_guid
(
clsid
),
debugstr_guid
(
iid
),
out
);
if
(
IsEqualGUID
(
clsid
,
&
CLSID_QTSplitter
))
factory
=
&
qt_splitter_cf
;
else
if
(
IsEqualGUID
(
clsid
,
&
CLSID_QTVDecoder
))
factory
=
&
video_decoder_cf
;
else
{
FIXME
(
"%s not implemented, returning CLASS_E_CLASSNOTAVAILABLE.
\n
"
,
debugstr_guid
(
clsid
));
return
CLASS_E_CLASSNOTAVAILABLE
;
}
return
IClassFactory_QueryInterface
(
&
factory
->
IClassFactory_iface
,
iid
,
out
);
}
static
const
REGPINTYPES
reg_audio_mt
=
{
&
MEDIATYPE_Audio
,
&
GUID_NULL
};
static
const
REGPINTYPES
reg_stream_mt
=
{
&
MEDIATYPE_Stream
,
&
GUID_NULL
};
static
const
REGPINTYPES
reg_video_mt
=
{
&
MEDIATYPE_Video
,
&
GUID_NULL
};
static
const
REGFILTERPINS2
reg_qt_splitter_pins
[
3
]
=
{
{
{
wQTVName
,
.
nMediaTypes
=
1
,
&
CLSID_QTVDecoder
,
.
lpMediaType
=
&
reg_stream_mt
,
QTVDecoder_create
,
NULL
,
&
amfQTV
,
},
},
{
{
wQTDName
,
.
dwFlags
=
REG_PINFLAG_B_OUTPUT
|
REG_PINFLAG_B_ZERO
,
&
CLSID_QTSplitter
,
.
nMediaTypes
=
1
,
QTSplitter_create
,
.
lpMediaType
=
&
reg_audio_mt
,
NULL
,
},
&
amfQTD
,
{
}
.
dwFlags
=
REG_PINFLAG_B_OUTPUT
|
REG_PINFLAG_B_ZERO
,
.
nMediaTypes
=
1
,
.
lpMediaType
=
&
reg_video_mt
,
},
};
};
int
g_cTemplates
=
ARRAY_SIZE
(
g_Templates
);
static
const
REGFILTER2
reg_qt_splitter
=
static
HINSTANCE
hInst
=
NULL
;
{
.
dwVersion
=
2
,
.
dwMerit
=
MERIT_NORMAL
-
1
,
.
u
.
s2
.
cPins2
=
3
,
.
u
.
s2
.
rgPins2
=
reg_qt_splitter_pins
,
};
/***********************************************************************
static
const
REGFILTERPINS2
reg_qt_splitter_pins
[
2
]
=
* Dll EntryPoint (wineqtdecoder.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
{
{
hInst
=
hInstDLL
;
{
return
STRMBASE_DllMain
(
hInstDLL
,
fdwReason
,
lpv
);
.
nMediaTypes
=
1
,
}
.
lpMediaType
=
&
reg_video_mt
,
},
{
.
dwFlags
=
REG_PINFLAG_B_OUTPUT
,
.
nMediaTypes
=
1
,
.
lpMediaType
=
&
reg_video_mt
,
},
};
/***********************************************************************
static
const
REGFILTER2
reg_video_decoder
=
* DllGetClassObject
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
{
{
return
STRMBASE_DllGetClassObject
(
rclsid
,
riid
,
ppv
);
.
dwVersion
=
2
,
}
.
dwMerit
=
MERIT_NORMAL
-
1
,
.
u
.
s2
.
cPins2
=
2
,
.
u
.
s2
.
rgPins2
=
reg_video_decoder_pins
,
};
/***********************************************************************
* DllRegisterServer (wineqtdecoder.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
{
IFilterMapper2
*
mapper
;
HRESULT
hr
;
HRESULT
hr
;
TRACE
(
"()
\n
"
);
hr
=
AMovieDllRegisterServer2
(
TRUE
);
TRACE
(
".
\n
"
);
if
(
SUCCEEDED
(
hr
))
hr
=
__wine_register_resources
(
hInst
);
if
(
FAILED
(
hr
=
__wine_register_resources
(
wineqtdecoder_instance
)))
return
hr
;
if
(
FAILED
(
hr
=
CoCreateInstance
(
&
CLSID_FilterMapper2
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IFilterMapper2
,
(
void
**
)
&
mapper
)))
return
hr
;
return
hr
;
IFilterMapper2_RegisterFilter
(
mapper
,
&
CLSID_QTSplitter
,
wQTDName
,
NULL
,
NULL
,
NULL
,
&
reg_qt_splitter
);
IFilterMapper2_RegisterFilter
(
mapper
,
&
CLSID_QTVDecoder
,
wQTVName
,
NULL
,
NULL
,
NULL
,
&
reg_video_decoder
);
IFilterMapper2_Release
(
mapper
);
return
S_OK
;
}
}
/***********************************************************************
* DllUnregisterServer (wineqtdecoder.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
{
IFilterMapper2
*
mapper
;
HRESULT
hr
;
HRESULT
hr
;
TRACE
(
"
\n
"
);
hr
=
AMovieDllRegisterServer2
(
FALSE
);
TRACE
(
".
\n
"
);
if
(
SUCCEEDED
(
hr
))
hr
=
__wine_unregister_resources
(
hInst
);
if
(
FAILED
(
hr
=
__wine_unregister_resources
(
wineqtdecoder_instance
)))
return
hr
;
return
hr
;
if
(
FAILED
(
hr
=
CoCreateInstance
(
&
CLSID_FilterMapper2
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IFilterMapper2
,
(
void
**
)
&
mapper
)))
return
hr
;
IFilterMapper2_UnregisterFilter
(
mapper
,
NULL
,
NULL
,
&
CLSID_QTSplitter
);
IFilterMapper2_UnregisterFilter
(
mapper
,
NULL
,
NULL
,
&
CLSID_QTVDecoder
);
IFilterMapper2_Release
(
mapper
);
return
S_OK
;
}
}
/***********************************************************************
* DllCanUnloadNow (wineqtdecoder.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
{
TRACE
(
"
\n
"
);
TRACE
(
"
.
\n
"
);
return
S
TRMBASE_DllCanUnloadNow
()
;
return
S
_FALSE
;
}
}
dlls/wineqtdecoder/qtsplitter.c
View file @
dd3d68e5
...
@@ -124,6 +124,7 @@
...
@@ -124,6 +124,7 @@
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "qtprivate.h"
#include "qtprivate.h"
#include "wineqtdecoder_classes.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
qtsplitter
);
WINE_DEFAULT_DEBUG_CHANNEL
(
qtsplitter
);
extern
CLSID
CLSID_QTSplitter
;
extern
CLSID
CLSID_QTSplitter
;
...
@@ -402,7 +403,7 @@ static const struct strmbase_sink_ops sink_ops =
...
@@ -402,7 +403,7 @@ static const struct strmbase_sink_ops sink_ops =
.
sink_disconnect
=
qt_splitter_sink_disconnect
,
.
sink_disconnect
=
qt_splitter_sink_disconnect
,
};
};
IUnknown
*
CALLBACK
QTSplitter_create
(
IUnknown
*
outer
,
HRESULT
*
phr
)
HRESULT
qt_splitter_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
{
{
QTSplitter
*
This
;
QTSplitter
*
This
;
static
const
WCHAR
wcsInputPinName
[]
=
{
'I'
,
'n'
,
'p'
,
'u'
,
't'
,
' '
,
'P'
,
'i'
,
'n'
,
0
};
static
const
WCHAR
wcsInputPinName
[]
=
{
'I'
,
'n'
,
'p'
,
'u'
,
't'
,
' '
,
'P'
,
'i'
,
'n'
,
0
};
...
@@ -411,12 +412,8 @@ IUnknown * CALLBACK QTSplitter_create(IUnknown *outer, HRESULT *phr)
...
@@ -411,12 +412,8 @@ IUnknown * CALLBACK QTSplitter_create(IUnknown *outer, HRESULT *phr)
RegisterWineDataHandler
();
RegisterWineDataHandler
();
This
=
CoTaskMemAlloc
(
sizeof
(
*
This
));
if
(
!
(
This
=
CoTaskMemAlloc
(
sizeof
(
*
This
))))
if
(
!
This
)
return
E_OUTOFMEMORY
;
{
*
phr
=
E_OUTOFMEMORY
;
return
NULL
;
}
ZeroMemory
(
This
,
sizeof
(
*
This
));
ZeroMemory
(
This
,
sizeof
(
*
This
));
strmbase_filter_init
(
&
This
->
filter
,
outer
,
&
CLSID_QTSplitter
,
&
filter_ops
);
strmbase_filter_init
(
&
This
->
filter
,
outer
,
&
CLSID_QTSplitter
,
&
filter_ops
);
...
@@ -430,8 +427,9 @@ IUnknown * CALLBACK QTSplitter_create(IUnknown *outer, HRESULT *phr)
...
@@ -430,8 +427,9 @@ IUnknown * CALLBACK QTSplitter_create(IUnknown *outer, HRESULT *phr)
This
->
aSession
=
NULL
;
This
->
aSession
=
NULL
;
This
->
runEvent
=
CreateEventW
(
NULL
,
0
,
0
,
NULL
);
This
->
runEvent
=
CreateEventW
(
NULL
,
0
,
0
,
NULL
);
*
phr
=
S_OK
;
TRACE
(
"Created QT splitter %p.
\n
"
,
This
);
return
&
This
->
filter
.
IUnknown_inner
;
*
out
=
&
This
->
filter
.
IUnknown_inner
;
return
S_OK
;
}
}
static
OSErr
QT_Create_Extract_Session
(
QTSplitter
*
filter
)
static
OSErr
QT_Create_Extract_Session
(
QTSplitter
*
filter
)
...
...
dlls/wineqtdecoder/qtvdecoder.c
View file @
dd3d68e5
...
@@ -126,6 +126,7 @@
...
@@ -126,6 +126,7 @@
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "qtprivate.h"
#include "qtprivate.h"
#include "wineqtdecoder_classes.h"
extern
CLSID
CLSID_QTVDecoder
;
extern
CLSID
CLSID_QTVDecoder
;
...
@@ -505,22 +506,17 @@ static const TransformFilterFuncTable QTVDecoder_FuncsTable = {
...
@@ -505,22 +506,17 @@ static const TransformFilterFuncTable QTVDecoder_FuncsTable = {
.
pfnBreakConnect
=
QTVDecoder_BreakConnect
,
.
pfnBreakConnect
=
QTVDecoder_BreakConnect
,
};
};
IUnknown
*
CALLBACK
QTVDecoder_create
(
IUnknown
*
outer
,
HRESULT
*
phr
)
HRESULT
video_decoder_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
{
{
QTVDecoderImpl
*
object
;
HRESULT
hr
;
HRESULT
hr
;
QTVDecoderImpl
*
This
;
*
phr
=
S_OK
;
hr
=
strmbase_transform_create
(
sizeof
(
QTVDecoderImpl
),
outer
,
&
CLSID_QTVDecoder
,
hr
=
strmbase_transform_create
(
sizeof
(
QTVDecoderImpl
),
outer
,
&
CLSID_QTVDecoder
,
&
QTVDecoder_FuncsTable
,
(
IBaseFilter
**
)
&
This
);
&
QTVDecoder_FuncsTable
,
(
IBaseFilter
**
)
&
object
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
{
return
hr
;
*
phr
=
hr
;
return
NULL
;
}
*
phr
=
hr
;
TRACE
(
"Created video decoder %p.
\n
"
,
object
);
return
&
This
->
tf
.
filter
.
IUnknown_inner
;
*
out
=
&
object
->
tf
.
filter
.
IUnknown_inner
;
return
S_OK
;
}
}
dlls/wineqtdecoder/wineqtdecoder_classes.idl
0 → 100644
View file @
dd3d68e5
/*
*
COM
classes
for
wineqtdecoder
*
*
Copyright
2019
Zebediah
Figura
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
pragma
makedep
header
#
pragma
makedep
ident
#
pragma
makedep
register
[
helpstring
(
"Wine QuickTime splitter"
),
threading
(
both
),
uuid
(
d0e70e49
-
5927
-
4894
-
a386
-
359460
ee87c9
)
]
coclass
QTSplitter
{}
[
helpstring
(
"Wine QuickTime video decoder"
),
threading
(
both
),
uuid
(
683
ddacb
-
4354
-
490
c
-
a058
-
e05ad0f20537
)
]
coclass
QTVDecoder
{}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment