Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1d39e74c
Commit
1d39e74c
authored
Mar 01, 2010
by
Paul Chitescu
Committed by
Alexandre Julliard
Mar 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit: A full format is required when connecting either pin of the SampleGrabber.
parent
9cd1ce25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
samplegrabber.c
dlls/qedit/samplegrabber.c
+8
-0
No files found.
dlls/qedit/samplegrabber.c
View file @
1d39e74c
...
...
@@ -1014,6 +1014,10 @@ SampleGrabber_Out_IPin_Connect(IPin *iface, IPin *receiver, const AM_MEDIA_TYPE
}
else
type
=
&
This
->
sg
->
mtype
;
if
(
!
IsEqualGUID
(
&
type
->
formattype
,
&
FORMAT_None
)
&&
!
IsEqualGUID
(
&
type
->
formattype
,
&
GUID_NULL
)
&&
!
type
->
pbFormat
)
return
VFW_E_TYPE_NOT_ACCEPTED
;
hr
=
IPin_ReceiveConnection
(
receiver
,(
IPin
*
)
&
This
->
lpVtbl
,
type
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -1054,6 +1058,10 @@ SampleGrabber_In_IPin_ReceiveConnection(IPin *iface, IPin *connector, const AM_M
!
IsEqualGUID
(
&
This
->
sg
->
mtype
.
formattype
,
&
FORMAT_None
)
&&
!
IsEqualGUID
(
&
This
->
sg
->
mtype
.
formattype
,
&
type
->
formattype
))
return
VFW_E_TYPE_NOT_ACCEPTED
;
if
(
!
IsEqualGUID
(
&
type
->
formattype
,
&
FORMAT_None
)
&&
!
IsEqualGUID
(
&
type
->
formattype
,
&
GUID_NULL
)
&&
!
type
->
pbFormat
)
return
VFW_E_TYPE_NOT_ACCEPTED
;
if
(
This
->
sg
->
mtype
.
pbFormat
)
CoTaskMemFree
(
This
->
sg
->
mtype
.
pbFormat
);
This
->
sg
->
mtype
=
*
type
;
...
...
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