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
c0b087e4
Commit
c0b087e4
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: Reset the push offset in parser_init_stream().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
87daa41e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gstdemux.c
dlls/winegstreamer/gstdemux.c
+2
-2
No files found.
dlls/winegstreamer/gstdemux.c
View file @
c0b087e4
...
...
@@ -1464,8 +1464,6 @@ static gboolean activate_push(GstPad *pad, gboolean activate)
pthread_join
(
parser
->
push_thread
,
NULL
);
parser
->
push_thread
=
0
;
}
if
(
This
->
filter
.
state
==
State_Stopped
)
parser
->
next_offset
=
parser
->
start_offset
;
}
else
if
(
!
parser
->
push_thread
)
{
int
ret
;
...
...
@@ -1746,6 +1744,8 @@ static HRESULT parser_init_stream(struct strmbase_filter *iface)
/* DirectShow retains the old seek positions, but resets to them every time
* it transitions from stopped -> paused. */
parser
->
next_offset
=
parser
->
start_offset
;
seeking
=
&
filter
->
sources
[
0
]
->
seek
;
if
(
seeking
->
llStop
&&
seeking
->
llStop
!=
seeking
->
llDuration
)
stop_type
=
GST_SEEK_TYPE_SET
;
...
...
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