rtpmp4gdepay: fix timestamps for RTP packets with multiple AUs
authorRamiro Polla <ramiro.polla@collabora.co.uk>
Wed, 15 Apr 2015 20:51:51 +0000 (22:51 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Fri, 14 Aug 2015 10:38:32 +0000 (12:38 +0200)
commit23b5a346751df9a4bc4f8e3a4c8196f51ea052db
treea12c9a1539f8f586ba6199d91eb385884bfd196e
parentcb852cd12804540acb37cdfe2bd2d10f5f4fa50c
rtpmp4gdepay: fix timestamps for RTP packets with multiple AUs

Use constantDuration to calculate the timestamp of non-first AU in the
RTP packet.

If constantDuration is not present in the MIME parameters, its value
must be calculated based on the timing information from two consecutive
RTP packets with AU-Index equal to 0.

https://bugzilla.gnome.org/show_bug.cgi?id=747881
gst/rtp/gstrtpmp4gdepay.c