[FFmpeg-devel] Fix NTP time in RTCP SR packets

Luca Abeni lucabe72
Fri Feb 15 11:33:39 CET 2008

Hi Reimar,

Reimar D?ffinger wrote:
> The specification even says:
> "A sender that has no notion of wallclock or elapsed time may set the NTP
> timestamp to zero."

Sorry, I did not notice that part.

> IMO libav* should not have any such notion unless supplied by the
> caller (e.g. we could consider adding a uint64_t wallclock or so to the
> context struct).

Ok. So, the attached patch "fixes" the problem.
It will affect some clients' long term stability, and it will make it
impossible to compute the RTT, but I can live with a local patch in
my tree...

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: remove-ntp-time.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080215/cdc1cc96/attachment.asc>

More information about the ffmpeg-devel mailing list