Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
f51b2ca8
Commit
f51b2ca8
authored
Feb 21, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: No longer queue WG_PARSER_EVENT_SEGMENT.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f7a5bf7b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
22 deletions
+0
-22
media_source.c
dlls/winegstreamer/media_source.c
+0
-3
quartz_parser.c
dlls/winegstreamer/quartz_parser.c
+0
-3
unixlib.h
dlls/winegstreamer/unixlib.h
+0
-6
wg_parser.c
dlls/winegstreamer/wg_parser.c
+0
-7
wm_reader.c
dlls/winegstreamer/wm_reader.c
+0
-3
No files found.
dlls/winegstreamer/media_source.c
View file @
f51b2ca8
...
...
@@ -554,9 +554,6 @@ static void wait_on_sample(struct media_stream *stream, IUnknown *token)
dispatch_end_of_presentation
(
stream
->
parent_source
);
return
;
case
WG_PARSER_EVENT_SEGMENT
:
break
;
case
WG_PARSER_EVENT_NONE
:
assert
(
0
);
}
...
...
dlls/winegstreamer/quartz_parser.c
View file @
f51b2ca8
...
...
@@ -841,9 +841,6 @@ static DWORD CALLBACK stream_thread(void *arg)
IPin_EndOfStream
(
pin
->
pin
.
pin
.
peer
);
break
;
case
WG_PARSER_EVENT_SEGMENT
:
break
;
case
WG_PARSER_EVENT_NONE
:
assert
(
0
);
}
...
...
dlls/winegstreamer/unixlib.h
View file @
f51b2ca8
...
...
@@ -108,7 +108,6 @@ enum wg_parser_event_type
WG_PARSER_EVENT_NONE
=
0
,
WG_PARSER_EVENT_BUFFER
,
WG_PARSER_EVENT_EOS
,
WG_PARSER_EVENT_SEGMENT
,
};
struct
wg_parser_event
...
...
@@ -123,11 +122,6 @@ struct wg_parser_event
uint32_t
size
;
bool
discontinuity
,
preroll
,
delta
,
has_pts
,
has_duration
;
}
buffer
;
struct
{
ULONGLONG
position
,
stop
;
DOUBLE
rate
;
}
segment
;
}
u
;
};
C_ASSERT
(
sizeof
(
struct
wg_parser_event
)
==
40
);
...
...
dlls/winegstreamer/wg_parser.c
View file @
f51b2ca8
...
...
@@ -500,7 +500,6 @@ static gboolean sink_event_cb(GstPad *pad, GstObject *parent, GstEvent *event)
case
GST_EVENT_SEGMENT
:
if
(
stream
->
enabled
)
{
struct
wg_parser_event
stream_event
;
const
GstSegment
*
segment
;
gst_event_parse_segment
(
event
,
&
segment
);
...
...
@@ -512,12 +511,6 @@ static gboolean sink_event_cb(GstPad *pad, GstObject *parent, GstEvent *event)
}
gst_segment_copy_into
(
segment
,
&
stream
->
segment
);
stream_event
.
type
=
WG_PARSER_EVENT_SEGMENT
;
stream_event
.
u
.
segment
.
position
=
segment
->
position
/
100
;
stream_event
.
u
.
segment
.
stop
=
segment
->
stop
/
100
;
stream_event
.
u
.
segment
.
rate
=
segment
->
rate
*
segment
->
applied_rate
;
queue_stream_event
(
stream
,
&
stream_event
,
NULL
);
}
break
;
...
...
dlls/winegstreamer/wm_reader.c
View file @
f51b2ca8
...
...
@@ -1935,9 +1935,6 @@ HRESULT wm_reader_get_stream_sample(struct wm_stream *stream,
TRACE
(
"End of stream.
\n
"
);
return
NS_E_NO_MORE_SAMPLES
;
case
WG_PARSER_EVENT_SEGMENT
:
break
;
case
WG_PARSER_EVENT_NONE
:
assert
(
0
);
}
...
...
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