[FFmpeg-devel] [PATCH] Extracting NTP timestamp from RTCP

Michael Niedermayer michaelni at gmx.at
Wed Nov 27 02:51:08 CET 2013


On Mon, Nov 25, 2013 at 01:11:04PM -0700, Fred Rothganger wrote:
> On 11/14/2013 01:14 PM, Reimar Döffinger wrote:
> >I believe that _someone_ at _some point_ will have to make that
> >assumption though. 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).
> 
> INT64_MAX will work. Attached is another patch which creates
> AV_NO_REALTIME and uses it instead of 0.

why isnt AV_NOPTS_VALUE used ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131127/95ee14fc/attachment.asc>


More information about the ffmpeg-devel mailing list