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
078ac0f7
Commit
078ac0f7
authored
Dec 03, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Also wait for the no-more-pads signal when pausing the filter.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7a0d963d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
gstdemux.c
dlls/winegstreamer/gstdemux.c
+9
-0
No files found.
dlls/winegstreamer/gstdemux.c
View file @
078ac0f7
...
@@ -1416,8 +1416,17 @@ static HRESULT WINAPI GST_Run(IBaseFilter *iface, REFERENCE_TIME tStart)
...
@@ -1416,8 +1416,17 @@ static HRESULT WINAPI GST_Run(IBaseFilter *iface, REFERENCE_TIME tStart)
}
}
EnterCriticalSection
(
&
This
->
filter
.
csFilter
);
EnterCriticalSection
(
&
This
->
filter
.
csFilter
);
if
(
This
->
no_more_pads_event
)
ResetEvent
(
This
->
no_more_pads_event
);
gst_element_set_state
(
This
->
container
,
GST_STATE_PLAYING
);
gst_element_set_state
(
This
->
container
,
GST_STATE_PLAYING
);
/* Make sure that all of our pads are connected before returning, lest we
* e.g. try to seek and fail. */
if
(
This
->
no_more_pads_event
)
WaitForSingleObject
(
This
->
no_more_pads_event
,
INFINITE
);
for
(
i
=
0
;
i
<
This
->
cStreams
;
i
++
)
{
for
(
i
=
0
;
i
<
This
->
cStreams
;
i
++
)
{
hr
=
BaseOutputPinImpl_Active
(
&
This
->
ppPins
[
i
]
->
pin
);
hr
=
BaseOutputPinImpl_Active
(
&
This
->
ppPins
[
i
]
->
pin
);
if
(
SUCCEEDED
(
hr
))
{
if
(
SUCCEEDED
(
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