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
e9ad430a
Commit
e9ad430a
authored
Apr 15, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Vend CLSID_NullRenderer from qedit.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
96eb82f7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
29 deletions
+16
-29
Makefile.in
dlls/qedit/Makefile.in
+1
-0
main.c
dlls/qedit/main.c
+1
-0
nullrenderer.c
dlls/qedit/nullrenderer.c
+6
-19
qedit_classes.idl
dlls/qedit/qedit_classes.idl
+7
-0
qedit_private.h
dlls/qedit/qedit_private.h
+1
-0
Makefile.in
dlls/quartz/Makefile.in
+0
-1
main.c
dlls/quartz/main.c
+0
-1
quartz_private.h
dlls/quartz/quartz_private.h
+0
-1
quartz_strmif.idl
dlls/quartz/quartz_strmif.idl
+0
-7
No files found.
dlls/qedit/Makefile.in
View file @
e9ad430a
...
@@ -4,6 +4,7 @@ IMPORTS = strmiids strmbase uuid oleaut32 ole32 advapi32
...
@@ -4,6 +4,7 @@ IMPORTS = strmiids strmbase uuid oleaut32 ole32 advapi32
C_SRCS
=
\
C_SRCS
=
\
main.c
\
main.c
\
mediadet.c
\
mediadet.c
\
nullrenderer.c
\
samplegrabber.c
\
samplegrabber.c
\
timeline.c
timeline.c
...
...
dlls/qedit/main.c
View file @
e9ad430a
...
@@ -60,6 +60,7 @@ static const struct object_creation_info object_creation[] =
...
@@ -60,6 +60,7 @@ static const struct object_creation_info object_creation[] =
{
{
{
&
CLSID_AMTimeline
,
AMTimeline_create
},
{
&
CLSID_AMTimeline
,
AMTimeline_create
},
{
&
CLSID_MediaDet
,
MediaDet_create
},
{
&
CLSID_MediaDet
,
MediaDet_create
},
{
&
CLSID_NullRenderer
,
NullRenderer_create
},
{
&
CLSID_SampleGrabber
,
SampleGrabber_create
},
{
&
CLSID_SampleGrabber
,
SampleGrabber_create
},
};
};
...
...
dlls/q
uartz
/nullrenderer.c
→
dlls/q
edit
/nullrenderer.c
View file @
e9ad430a
/*
/*
* Null
Renderer (Promiscuous, not rendering anything at all!)
* Null
renderer filter
*
*
* Copyright 2004 Christian Costa
* Copyright 2004 Christian Costa
* Copyright 2008 Maarten Lankhorst
* Copyright 2008 Maarten Lankhorst
...
@@ -19,25 +19,12 @@
...
@@ -19,25 +19,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include "config.h"
#define COBJMACROS
#include "quartz_private.h"
#include "pin.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include "amvideo.h"
#include "windef.h"
#include "winbase.h"
#include "dshow.h"
#include "dshow.h"
#include "evcode.h"
#include "strmif.h"
#include "ddraw.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/strmbase.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
q
uartz
);
WINE_DEFAULT_DEBUG_CHANNEL
(
q
edit
);
typedef
struct
NullRendererImpl
typedef
struct
NullRendererImpl
{
{
...
@@ -89,7 +76,7 @@ static HRESULT WINAPI NullRendererInner_QueryInterface(IUnknown *iface, REFIID r
...
@@ -89,7 +76,7 @@ static HRESULT WINAPI NullRendererInner_QueryInterface(IUnknown *iface, REFIID r
{
{
NullRendererImpl
*
This
=
impl_from_IUnknown
(
iface
);
NullRendererImpl
*
This
=
impl_from_IUnknown
(
iface
);
TRACE
(
"
(%p/%p)->(%s, %p)
\n
"
,
This
,
iface
,
qz
debugstr_guid
(
riid
),
ppv
);
TRACE
(
"
filter %p, iid %s, out %p.
\n
"
,
This
,
debugstr_guid
(
riid
),
ppv
);
*
ppv
=
NULL
;
*
ppv
=
NULL
;
...
@@ -112,7 +99,7 @@ static HRESULT WINAPI NullRendererInner_QueryInterface(IUnknown *iface, REFIID r
...
@@ -112,7 +99,7 @@ static HRESULT WINAPI NullRendererInner_QueryInterface(IUnknown *iface, REFIID r
}
}
if
(
!
IsEqualIID
(
riid
,
&
IID_IPin
)
&&
!
IsEqualIID
(
riid
,
&
IID_IVideoWindow
))
if
(
!
IsEqualIID
(
riid
,
&
IID_IPin
)
&&
!
IsEqualIID
(
riid
,
&
IID_IVideoWindow
))
FIXME
(
"
No interface for %s!
\n
"
,
qz
debugstr_guid
(
riid
));
FIXME
(
"
%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/qedit/qedit_classes.idl
View file @
e9ad430a
...
@@ -33,6 +33,13 @@ coclass AMTimeline { interface IAMTimeline; interface IPersistStream; interface
...
@@ -33,6 +33,13 @@ coclass AMTimeline { interface IAMTimeline; interface IPersistStream; interface
coclass
MediaDet
{
interface
IMediaDet
; }
coclass
MediaDet
{
interface
IMediaDet
; }
[
[
helpstring
(
"Null Renderer"
),
threading
(
both
),
uuid
(
c1f400a4
-
3
f08
-
11
d3
-
9
f0b
-
006008039
e37
)
]
coclass
NullRenderer
{
interface
IBaseFilter
; }
[
helpstring
(
"Sample Grabber"
),
helpstring
(
"Sample Grabber"
),
threading
(
both
),
threading
(
both
),
uuid
(
c1f400a0
-
3
f08
-
11
d3
-
9
f0b
-
006008039
e37
)
uuid
(
c1f400a0
-
3
f08
-
11
d3
-
9
f0b
-
006008039
e37
)
...
...
dlls/qedit/qedit_private.h
View file @
e9ad430a
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
HRESULT
AMTimeline_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
HRESULT
AMTimeline_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
HRESULT
MediaDet_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
HRESULT
MediaDet_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
HRESULT
NullRenderer_create
(
IUnknown
*
outer
,
void
**
out
)
DECLSPEC_HIDDEN
;
HRESULT
SampleGrabber_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
HRESULT
SampleGrabber_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
#endif
/* __QEDIT_PRIVATE_INCLUDED__ */
#endif
/* __QEDIT_PRIVATE_INCLUDED__ */
dlls/quartz/Makefile.in
View file @
e9ad430a
...
@@ -16,7 +16,6 @@ C_SRCS = \
...
@@ -16,7 +16,6 @@ C_SRCS = \
main.c
\
main.c
\
memallocator.c
\
memallocator.c
\
mpegsplit.c
\
mpegsplit.c
\
nullrenderer.c
\
parser.c
\
parser.c
\
pin.c
\
pin.c
\
regsvr.c
\
regsvr.c
\
...
...
dlls/quartz/main.c
View file @
e9ad430a
...
@@ -74,7 +74,6 @@ static const struct object_creation_info object_creation[] =
...
@@ -74,7 +74,6 @@ static const struct object_creation_info object_creation[] =
{
&
CLSID_AviSplitter
,
AVISplitter_create
},
{
&
CLSID_AviSplitter
,
AVISplitter_create
},
{
&
CLSID_MPEG1Splitter
,
MPEGSplitter_create
},
{
&
CLSID_MPEG1Splitter
,
MPEGSplitter_create
},
{
&
CLSID_VideoRenderer
,
VideoRenderer_create
},
{
&
CLSID_VideoRenderer
,
VideoRenderer_create
},
{
&
CLSID_NullRenderer
,
NullRenderer_create
},
{
&
CLSID_VideoMixingRenderer
,
VMR7Impl_create
},
{
&
CLSID_VideoMixingRenderer
,
VMR7Impl_create
},
{
&
CLSID_VideoMixingRenderer9
,
VMR9Impl_create
},
{
&
CLSID_VideoMixingRenderer9
,
VMR9Impl_create
},
{
&
CLSID_VideoRendererDefault
,
VideoRendererDefault_create
},
{
&
CLSID_VideoRendererDefault
,
VideoRendererDefault_create
},
...
...
dlls/quartz/quartz_private.h
View file @
e9ad430a
...
@@ -59,7 +59,6 @@ HRESULT MPEGSplitter_create(IUnknown * pUnkOuter, LPVOID * ppv) DECLSPEC_HIDDEN;
...
@@ -59,7 +59,6 @@ HRESULT MPEGSplitter_create(IUnknown * pUnkOuter, LPVOID * ppv) DECLSPEC_HIDDEN;
HRESULT
AVIDec_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
AVIDec_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
DSoundRender_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
DSoundRender_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
VideoRenderer_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
VideoRenderer_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
NullRenderer_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
VideoRendererDefault_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
VideoRendererDefault_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
QUARTZ_CreateSystemClock
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
QUARTZ_CreateSystemClock
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
ACMWrapper_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
ACMWrapper_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
...
...
dlls/quartz/quartz_strmif.idl
View file @
e9ad430a
...
@@ -120,13 +120,6 @@ coclass DSoundRender { interface IBaseFilter; }
...
@@ -120,13 +120,6 @@ coclass DSoundRender { interface IBaseFilter; }
coclass
AudioRender
{
interface
IBaseFilter
; }
coclass
AudioRender
{
interface
IBaseFilter
; }
[
[
helpstring
(
"Null Renderer"
),
threading
(
both
),
uuid
(
c1f400a4
-
3
f08
-
11
d3
-
9
f0b
-
006008039
e37
)
]
coclass
NullRenderer
{
interface
IBaseFilter
; }
[
helpstring
(
"Video Renderer"
),
helpstring
(
"Video Renderer"
),
threading
(
both
),
threading
(
both
),
uuid
(
70
e102b0
-
5556
-
11
ce
-
97
c0
-
00
aa0055595a
)
uuid
(
70
e102b0
-
5556
-
11
ce
-
97
c0
-
00
aa0055595a
)
...
...
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