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
e103c75a
Commit
e103c75a
authored
Feb 16, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Use wg_parser_stream_seek() in GST_ChangeRate().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5167b8c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gstdemux.c
dlls/winegstreamer/gstdemux.c
+4
-5
No files found.
dlls/winegstreamer/gstdemux.c
View file @
e103c75a
...
@@ -1178,12 +1178,11 @@ static HRESULT WINAPI GST_ChangeStop(IMediaSeeking *iface)
...
@@ -1178,12 +1178,11 @@ static HRESULT WINAPI GST_ChangeStop(IMediaSeeking *iface)
static
HRESULT
WINAPI
GST_ChangeRate
(
IMediaSeeking
*
iface
)
static
HRESULT
WINAPI
GST_ChangeRate
(
IMediaSeeking
*
iface
)
{
{
struct
parser_source
*
This
=
impl_from_IMediaSeeking
(
iface
);
struct
parser_source
*
pin
=
impl_from_IMediaSeeking
(
iface
);
struct
wg_parser_stream
*
stream
=
This
->
wg_stream
;
GstEvent
*
ev
=
gst_event_new_seek
(
This
->
seek
.
dRate
,
GST_FORMAT_TIME
,
0
,
GST_SEEK_TYPE_NONE
,
-
1
,
GST_SEEK_TYPE_NONE
,
-
1
);
TRACE
(
"(%p) New rate %g
\n
"
,
This
,
This
->
seek
.
dRate
);
mark_wine_thread
();
mark_wine_thread
();
gst_pad_push_event
(
stream
->
my_sink
,
ev
);
unix_funcs
->
wg_parser_stream_seek
(
pin
->
wg_stream
,
pin
->
seek
.
dRate
,
0
,
0
,
AM_SEEKING_NoPositioning
,
AM_SEEKING_NoPositioning
);
return
S_OK
;
return
S_OK
;
}
}
...
...
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