Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2cdb8cda
Commit
2cdb8cda
authored
Dec 01, 2023
by
Alfred Agrell
Committed by
Alexandre Julliard
Dec 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Leave pts/duration unchanged if they're not set.
parent
84660d52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
wm_reader.c
dlls/winegstreamer/wm_reader.c
+9
-2
No files found.
dlls/winegstreamer/wm_reader.c
View file @
2cdb8cda
...
@@ -1660,13 +1660,20 @@ static HRESULT wm_reader_read_stream_sample(struct wm_reader *reader, struct wg_
...
@@ -1660,13 +1660,20 @@ static HRESULT wm_reader_read_stream_sample(struct wm_reader *reader, struct wg_
wg_parser_stream_release_buffer
(
stream
->
wg_stream
);
wg_parser_stream_release_buffer
(
stream
->
wg_stream
);
*
pts
=
buffer
->
pts
;
*
duration
=
buffer
->
duration
;
if
(
!
buffer
->
has_pts
)
if
(
!
buffer
->
has_pts
)
{
FIXME
(
"Missing PTS.
\n
"
);
FIXME
(
"Missing PTS.
\n
"
);
*
pts
=
0
;
}
if
(
!
buffer
->
has_duration
)
if
(
!
buffer
->
has_duration
)
{
FIXME
(
"Missing duration.
\n
"
);
FIXME
(
"Missing duration.
\n
"
);
*
duration
=
0
;
}
*
pts
=
buffer
->
pts
;
*
duration
=
buffer
->
duration
;
*
flags
=
0
;
*
flags
=
0
;
if
(
buffer
->
discontinuity
)
if
(
buffer
->
discontinuity
)
*
flags
|=
WM_SF_DISCONTINUITY
;
*
flags
|=
WM_SF_DISCONTINUITY
;
...
...
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