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
9196fecb
Commit
9196fecb
authored
Nov 20, 2023
by
Alfred Agrell
Committed by
Alexandre Julliard
Nov 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Store duration in the duration field.
parent
1617bd3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wg_sample.c
dlls/winegstreamer/wg_sample.c
+1
-1
No files found.
dlls/winegstreamer/wg_sample.c
View file @
9196fecb
...
@@ -484,7 +484,7 @@ HRESULT wg_transform_push_dmo(wg_transform_t transform, IMediaBuffer *media_buff
...
@@ -484,7 +484,7 @@ HRESULT wg_transform_push_dmo(wg_transform_t transform, IMediaBuffer *media_buff
if
(
flags
&
DMO_INPUT_DATA_BUFFERF_TIMELENGTH
)
if
(
flags
&
DMO_INPUT_DATA_BUFFERF_TIMELENGTH
)
{
{
wg_sample
->
flags
|=
WG_SAMPLE_FLAG_HAS_DURATION
;
wg_sample
->
flags
|=
WG_SAMPLE_FLAG_HAS_DURATION
;
wg_sample
->
pts
=
time_length
;
wg_sample
->
duration
=
time_length
;
}
}
wg_sample_queue_begin_append
(
queue
,
wg_sample
);
wg_sample_queue_begin_append
(
queue
,
wg_sample
);
...
...
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