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
c7117240
Commit
c7117240
authored
Feb 03, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Move the "eos" field to struct wg_parser_stream.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
76380684
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gstdemux.c
dlls/winegstreamer/gstdemux.c
+5
-3
No files found.
dlls/winegstreamer/gstdemux.c
View file @
c7117240
...
...
@@ -105,6 +105,8 @@ struct wg_parser_stream
pthread_cond_t
event_cond
,
event_empty_cond
;
struct
wg_parser_event
event
;
bool
eos
;
};
struct
parser
...
...
@@ -147,7 +149,7 @@ struct parser_source
SourceSeeking
seek
;
CRITICAL_SECTION
flushing_cs
;
bool
flushing
,
eos
;
bool
flushing
;
HANDLE
thread
;
};
...
...
@@ -784,7 +786,7 @@ static gboolean event_sink(GstPad *pad, GstObject *parent, GstEvent *event)
else
{
pthread_mutex_lock
(
&
parser
->
mutex
);
pin
->
eos
=
true
;
stream
->
eos
=
true
;
pthread_mutex_unlock
(
&
parser
->
mutex
);
pthread_cond_signal
(
&
parser
->
init_cond
);
}
...
...
@@ -2927,7 +2929,7 @@ static BOOL mpeg_splitter_init_gst(struct parser *filter)
}
pthread_mutex_lock
(
&
parser
->
mutex
);
while
(
!
parser
->
has_duration
&&
!
parser
->
error
&&
!
pin
->
eos
)
while
(
!
parser
->
has_duration
&&
!
parser
->
error
&&
!
stream
->
eos
)
pthread_cond_wait
(
&
parser
->
init_cond
,
&
parser
->
mutex
);
if
(
parser
->
error
)
{
...
...
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