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
86393897
Commit
86393897
authored
Jul 09, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jul 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Make filtergraph quieter.
parent
fe9840f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
filtergraph.c
dlls/quartz/filtergraph.c
+14
-14
No files found.
dlls/quartz/filtergraph.c
View file @
86393897
...
...
@@ -710,7 +710,7 @@ static HRESULT WINAPI FilterGraph2_Reconnect(IFilterGraph2 *iface,
hr
=
IPin_Connect
(
ppin
,
pConnectedTo
,
NULL
);
IPin_Release
(
pConnectedTo
);
if
(
FAILED
(
hr
))
ERR
(
"Reconnecting pins failed, pins are not connected now..
\n
"
);
WARN
(
"Reconnecting pins failed, pins are not connected now..
\n
"
);
TRACE
(
"(%p->%p) -- %p %p -> %x
\n
"
,
iface
,
This
,
ppin
,
pConnectedTo
,
hr
);
return
hr
;
}
...
...
@@ -785,7 +785,7 @@ static HRESULT GetInternalConnections(IBaseFilter* pfilter, IPin* pinputpin, IPi
*
pppins
=
CoTaskMemAlloc
(
sizeof
(
IPin
*
)
*
nb
);
hr
=
IPin_QueryInternalConnections
(
pinputpin
,
*
pppins
,
&
nb
);
if
(
hr
!=
S_OK
)
{
ERR
(
"Error (%x)
\n
"
,
hr
);
WARN
(
"Error (%x)
\n
"
,
hr
);
}
}
else
if
(
hr
==
E_NOTIMPL
)
{
/* Input connected to all outputs */
...
...
@@ -795,7 +795,7 @@ static HRESULT GetInternalConnections(IBaseFilter* pfilter, IPin* pinputpin, IPi
TRACE
(
"E_NOTIMPL
\n
"
);
hr
=
IBaseFilter_EnumPins
(
pfilter
,
&
penumpins
);
if
(
FAILED
(
hr
))
{
ERR
(
"filter Enumpins failed (%x)
\n
"
,
hr
);
WARN
(
"filter Enumpins failed (%x)
\n
"
,
hr
);
return
hr
;
}
i
=
0
;
...
...
@@ -822,11 +822,11 @@ static HRESULT GetInternalConnections(IBaseFilter* pfilter, IPin* pinputpin, IPi
IEnumPins_Release
(
penumpins
);
nb
=
i
;
if
(
FAILED
(
hr
))
{
ERR
(
"Next failed (%x)
\n
"
,
hr
);
WARN
(
"Next failed (%x)
\n
"
,
hr
);
return
hr
;
}
}
else
if
(
FAILED
(
hr
))
{
ERR
(
"Cannot get internal connection (%x)
\n
"
,
hr
);
WARN
(
"Cannot get internal connection (%x)
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -1386,10 +1386,10 @@ static HRESULT WINAPI FilterGraph2_RenderFile(IFilterGraph2 *iface,
INT
i
;
hr
=
IFilterGraph2_Render
(
iface
,
ppinreader
);
ERR
(
"Render %08x
\n
"
,
hr
);
TRACE
(
"Render %08x
\n
"
,
hr
);
for
(
i
=
0
;
i
<
This
->
nFilters
;
++
i
)
FIXM
E
(
"Filters in chain: %s
\n
"
,
debugstr_w
(
This
->
pFilterNames
[
i
]));
TRAC
E
(
"Filters in chain: %s
\n
"
,
debugstr_w
(
This
->
pFilterNames
[
i
]));
if
(
SUCCEEDED
(
hr
))
any
=
TRUE
;
...
...
@@ -1489,33 +1489,33 @@ static HRESULT WINAPI FilterGraph2_AddSourceFilter(IFilterGraph2 *iface,
if
(
FAILED
(
hr
))
hr
=
CoCreateInstance
(
&
CLSID_AsyncReader
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IBaseFilter
,
(
LPVOID
*
)
&
preader
);
if
(
FAILED
(
hr
))
{
ERR
(
"Unable to create file source filter (%x)
\n
"
,
hr
);
WARN
(
"Unable to create file source filter (%x)
\n
"
,
hr
);
return
hr
;
}
hr
=
IFilterGraph2_AddFilter
(
iface
,
preader
,
lpcwstrFilterName
);
if
(
FAILED
(
hr
))
{
ERR
(
"Unable add filter (%x)
\n
"
,
hr
);
WARN
(
"Unable add filter (%x)
\n
"
,
hr
);
IBaseFilter_Release
(
preader
);
return
hr
;
}
hr
=
IBaseFilter_QueryInterface
(
preader
,
&
IID_IFileSourceFilter
,
(
LPVOID
*
)
&
pfile
);
if
(
FAILED
(
hr
))
{
ERR
(
"Unable to get IFileSourceInterface (%x)
\n
"
,
hr
);
WARN
(
"Unable to get IFileSourceInterface (%x)
\n
"
,
hr
);
goto
error
;
}
/* Load the file in the file source filter */
hr
=
IFileSourceFilter_Load
(
pfile
,
lpcwstrFileName
,
NULL
);
if
(
FAILED
(
hr
))
{
ERR
(
"Load (%x)
\n
"
,
hr
);
WARN
(
"Load (%x)
\n
"
,
hr
);
goto
error
;
}
IFileSourceFilter_GetCurFile
(
pfile
,
&
filename
,
&
mt
);
if
(
FAILED
(
hr
))
{
ERR
(
"GetCurFile (%x)
\n
"
,
hr
);
WARN
(
"GetCurFile (%x)
\n
"
,
hr
);
goto
error
;
}
...
...
@@ -1831,7 +1831,7 @@ static HRESULT SendFilterMessage(IMediaControl *iface, fnFoundFilter FoundFilter
hr
=
IBaseFilter_EnumPins
(
pfilter
,
&
pEnum
);
if
(
hr
!=
S_OK
)
{
ERR
(
"Enum pins failed %x
\n
"
,
hr
);
WARN
(
"Enum pins failed %x
\n
"
,
hr
);
continue
;
}
/* Check if it is a source filter */
...
...
@@ -2081,7 +2081,7 @@ static HRESULT all_renderers_seek(IFilterGraphImpl *This, fnFoundSeek FoundSeek,
hr
=
IBaseFilter_EnumPins
(
pfilter
,
&
pEnum
);
if
(
hr
!=
S_OK
)
{
ERR
(
"Enum pins failed %x
\n
"
,
hr
);
WARN
(
"Enum pins failed %x
\n
"
,
hr
);
continue
;
}
/* Check if it is a source filter */
...
...
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