Commit 9196fecb authored by Alfred Agrell's avatar Alfred Agrell Committed by Alexandre Julliard

winegstreamer: Store duration in the duration field.

parent 1617bd3f
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment