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
fe9840f2
Commit
fe9840f2
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 parser start even if some of the pins aren't connected.
parent
bcba2705
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
parser.c
dlls/quartz/parser.c
+7
-3
No files found.
dlls/quartz/parser.c
View file @
fe9840f2
...
...
@@ -277,7 +277,8 @@ HRESULT WINAPI Parser_Pause(IBaseFilter * iface)
EnterCriticalSection
(
&
This
->
csFilter
);
}
This
->
state
=
State_Paused
;
if
(
SUCCEEDED
(
hr
))
This
->
state
=
State_Paused
;
LeaveCriticalSection
(
&
This
->
csFilter
);
LeaveCriticalSection
(
&
pin
->
thread_lock
);
...
...
@@ -298,6 +299,8 @@ HRESULT WINAPI Parser_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
EnterCriticalSection
(
&
pin
->
thread_lock
);
EnterCriticalSection
(
&
This
->
csFilter
);
{
HRESULT
hr_any
=
VFW_E_NOT_CONNECTED
;
if
(
This
->
state
==
State_Running
||
This
->
state
==
State_Paused
)
{
This
->
state
=
State_Running
;
...
...
@@ -311,10 +314,11 @@ HRESULT WINAPI Parser_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
for
(
i
=
1
;
i
<
(
This
->
cStreams
+
1
);
i
++
)
{
hr
=
OutputPin_CommitAllocator
((
OutputPin
*
)
This
->
ppPins
[
i
]);
if
(
FAIL
ED
(
hr
))
break
;
if
(
SUCCEED
ED
(
hr
))
hr_any
=
hr
;
}
hr_any
=
hr
;
if
(
SUCCEEDED
(
hr
))
{
LeaveCriticalSection
(
&
This
->
csFilter
);
...
...
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