rtponviftimestamp: prioritize PTS over DTS for NTP timestamp
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 12 Dec 2018 14:25:45 +0000 (15:25 +0100)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Fri, 5 Apr 2019 00:28:48 +0000 (00:28 +0000)
commitf11ce297f4db80533d7bd5559d9649fa54002ace
tree2d170dd6c42470c23eadcb2bdf8e06afffcfbeb9
parent62b240eb4e1561c677088a5c1fe53075d0ef7a20
rtponviftimestamp: prioritize PTS over DTS for NTP timestamp

NTP timestamps are supposed to match the expected presentation
time, prefering the DTS to compute them was incorrect.

<https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec.pdf>

Section 6.3.1: NTP Timestamps
gst/onvif/gstrtponviftimestamp.c