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
9bde31b3
Commit
9bde31b3
authored
Nov 23, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Nov 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Display iface in TRACEs.
parent
930c9dd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
mediatype.c
dlls/strmbase/mediatype.c
+7
-5
No files found.
dlls/strmbase/mediatype.c
View file @
9bde31b3
...
...
@@ -147,7 +147,7 @@ HRESULT WINAPI EnumMediaTypes_Construct(BasePin *basePin, BasePin_GetMediaType e
static
HRESULT
WINAPI
IEnumMediaTypesImpl_QueryInterface
(
IEnumMediaTypes
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
)
{
TRACE
(
"(%
s, %p)
\n
"
,
debugstr_guid
(
riid
),
ppv
);
TRACE
(
"(%
p)->(%s, %p)
\n
"
,
iface
,
debugstr_guid
(
riid
),
ppv
);
*
ppv
=
NULL
;
...
...
@@ -201,12 +201,13 @@ static HRESULT WINAPI IEnumMediaTypesImpl_Next(IEnumMediaTypes * iface, ULONG cM
ULONG
cFetched
;
IEnumMediaTypesImpl
*
This
=
impl_from_IEnumMediaTypes
(
iface
);
TRACE
(
"(%p)->(%u, %p, %p)
\n
"
,
iface
,
cMediaTypes
,
ppMediaTypes
,
pcFetched
);
cFetched
=
min
(
This
->
enumMediaDetails
.
cMediaTypes
,
This
->
uIndex
+
cMediaTypes
)
-
This
->
uIndex
;
if
(
This
->
currentVersion
!=
This
->
mediaVersionFunction
(
This
->
basePin
))
return
VFW_E_ENUM_OUT_OF_SYNC
;
TRACE
(
"(%u, %p, %p)
\n
"
,
cMediaTypes
,
ppMediaTypes
,
pcFetched
);
TRACE
(
"Next uIndex: %u, cFetched: %u
\n
"
,
This
->
uIndex
,
cFetched
);
if
(
cFetched
>
0
)
...
...
@@ -236,7 +237,8 @@ static HRESULT WINAPI IEnumMediaTypesImpl_Skip(IEnumMediaTypes * iface, ULONG cM
{
IEnumMediaTypesImpl
*
This
=
impl_from_IEnumMediaTypes
(
iface
);
TRACE
(
"(%u)
\n
"
,
cMediaTypes
);
TRACE
(
"(%p)->(%u)
\n
"
,
iface
,
cMediaTypes
);
if
(
This
->
currentVersion
!=
This
->
mediaVersionFunction
(
This
->
basePin
))
return
VFW_E_ENUM_OUT_OF_SYNC
;
...
...
@@ -254,7 +256,7 @@ static HRESULT WINAPI IEnumMediaTypesImpl_Reset(IEnumMediaTypes * iface)
AM_MEDIA_TYPE
amt
;
IEnumMediaTypesImpl
*
This
=
impl_from_IEnumMediaTypes
(
iface
);
TRACE
(
"(
)
\n
"
);
TRACE
(
"(
%p)->()
\n
"
,
iface
);
for
(
i
=
0
;
i
<
This
->
enumMediaDetails
.
cMediaTypes
;
i
++
)
FreeMediaType
(
&
This
->
enumMediaDetails
.
pMediaTypes
[
i
]);
...
...
@@ -288,7 +290,7 @@ static HRESULT WINAPI IEnumMediaTypesImpl_Clone(IEnumMediaTypes * iface, IEnumMe
HRESULT
hr
;
IEnumMediaTypesImpl
*
This
=
impl_from_IEnumMediaTypes
(
iface
);
TRACE
(
"(%p)
\n
"
,
ppEnum
);
TRACE
(
"(%p)
->(%p)
\n
"
,
iface
,
ppEnum
);
hr
=
EnumMediaTypes_Construct
(
This
->
basePin
,
This
->
enumMediaFunction
,
This
->
mediaVersionFunction
,
ppEnum
);
if
(
FAILED
(
hr
))
...
...
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