[FFmpeg-devel] Extracting NTP timestamp from RTCP
Reimar.Doeffinger at gmx.de
Thu Nov 14 21:14:12 CET 2013
On Thu, Nov 14, 2013 at 12:01:19PM -0700, Fred Rothganger wrote:
> * The patch I sent tries to make the minimal amount of change
> necessary to implement the feature. It does not assume that 0 means
> unset, only that nonzero means set.
I believe that _someone_ at _some point_ will have to make that
Unless they want to have some ugly user-interface mess like
every stream initially showing as "created 1970" to the suddenly
jump to the correct value.
Either way, the short of it is that I can't see that 0 as an
initialization value will cause anything but annoyance long-term.
INT64_MAX hopefully only long beyond the time we would care about.
And UINT64_MAX means you have to be careful to not involve anything
signed at any point, unless there's a good reason I'd prefer sticking
with INT64_MAX (and ideally some error handling if the received
timestamps should be >= than that).
More information about the ffmpeg-devel