]> git.sesse.net Git - ffmpeg/commit
avformat/rtpdec: Fix prft wallclock time.
authorAlok Priyadarshi <alokpr@gmail.com>
Thu, 25 Mar 2021 04:46:36 +0000 (21:46 -0700)
committerJames Almer <jamrial@gmail.com>
Tue, 30 Mar 2021 14:59:15 +0000 (11:59 -0300)
commit62f486e7930c5f1c8e4bfe342eb6a2bbd8cfd177
treeed2d2fde4901095fd6baf58e87abfaade47f90eb
parente7cbbd90267de2a0ad1b5fa8ccb29ab7bf8a26b8
avformat/rtpdec: Fix prft wallclock time.

Timestamp difference is available in media timebase (1/90K) where as
rtcp time is in the default microseconds timebase. This patch fixes
the calculated prft wallclock time by rescaling the timestamp delta
to the microseconds timebase.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/rtpdec.c