rtpdec: only use RTCP for PTS when synchronizing multiple streams
authorJohn Brooks <john.brooks@bluecherry.net>
Wed, 9 Nov 2011 23:28:35 +0000 (16:28 -0700)
committerMartin Storsjö <martin@martin.st>
Fri, 18 Nov 2011 08:47:28 +0000 (10:47 +0200)
commit525c5b08fb835cad000810d6299964f300a17daa
tree10163d9f5c8536e1dee65fbbfee520a6b866c26e
parent12348ca25e0bf44bf4530745753e938fc54e7ae3
rtpdec: only use RTCP for PTS when synchronizing multiple streams

RTCP timestamps are only necessary to synchronize time between
multiple streams. For a single stream, the RTP packet timestamp
provides more reliable timing. As a result, single-stream RTP
sessions should now have accurate and monotonic PTS.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec.c