Alfred Agrell : winegstreamer: Store duration in the duration field.
Module: wine Branch: master Commit: 9196fecb639b433e6a6f687e0ce62669c9cc2bf0 URL: https://gitlab.winehq.org/wine/wine/-/commit/9196fecb639b433e6a6f687e0ce6266... Author: Alfred Agrell <floating(a)muncher.se> Date: Mon Nov 20 20:56:07 2023 +0100 winegstreamer: Store duration in the duration field. --- dlls/winegstreamer/wg_sample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winegstreamer/wg_sample.c b/dlls/winegstreamer/wg_sample.c index 4b02252174b..31281066957 100644 --- a/dlls/winegstreamer/wg_sample.c +++ b/dlls/winegstreamer/wg_sample.c @@ -484,7 +484,7 @@ HRESULT wg_transform_push_dmo(wg_transform_t transform, IMediaBuffer *media_buff if (flags & DMO_INPUT_DATA_BUFFERF_TIMELENGTH) { 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);
participants (1)
-
Alexandre Julliard