Skip to content

gst/pipewiresink: fix dts_offset

GStreamer uses a time stamp for the decoding time, but PipeWire uses an offset to the presentation time. Thus, the pipewiresink must not use the DTS as dts_offset, but has to calculate the offset.

If the buffer's DTS is invalid, assume that dts is pts.

Merge request reports