Skip to content

avtp: crf: sync: Align to AAF/CVF packet interval

Copied from https://gitlab.freedesktop.org//gstreamer/gst-plugins-bad/-/merge_requests/1983

Without this patch the presentation time stamps are aligned to a multiple of the event time interval. An event could be for example the sample rate or video frame sync. In case of an AAF stream with 12 samples per packet the difference between two presentation time stamps could also reflect 11 or 13 samples. But this would be wrong. The time difference between two AAF packets should in this case always reflect 12 samples.

With this patch the presentation time stamp will be aligned to the AAF or CVF packet interval. Therefore the difference between those timestamp will be aligned to the amount of events/samples per packet.

Merge request reports