Re: [PATCH v5 0/2] MR7623: winegstreamer: Use provided PTS and duration in video_decoder.
15 Apr
2025
15 Apr
'25
10:44 p.m.
Rémi Bernon (@rbernon) commented about dlls/winegstreamer/wg_transform.c:
buffer_add_video_meta(buffer, &video_info); }
+ /* we perform DTS first as it should never be later than PTS, so any required timestamp offset should be the maximum here */ + if (sample->flags & WG_SAMPLE_FLAG_HAS_DTS) + { + dts = sample->dts += transform->ts_offset; + if (dts < 0) + { + transform->ts_offset -= dts;
Updating the offset continuously feels weird, though I've only skimmed over the code for now. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7623#note_100983
248
Age (days ago)
248
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rémi Bernon