Quoting Lynne (2021-01-24 18:34:36) > >> > >> Some devs (JEEB) wanted reception timestamps and original, overflowed > >> timestamps for MPEG-TS. > >> I'd be willing to add a reception timestamp as long as we add an > >> additional time_base field > >> and make it independent of the packet's pts field, since those timestamps > >> are usually on > >> highly precise system clock time bases, and reducing their precision would > >> be undesirable. > >> > > > > This sounds like side data to me. > > > >> > >> I'm not sure about overflowed original timestamps or how they would help. > >> Perhaps we should introduce an AVBufferRef *internal_ref like with AVFrame > >> to > >> store such single library-only data? > >> > > > > I don't like treating the libraries specially, so -1 for me. > > internal_ref should not exist either. > > > > Yeah, tbh it's a single-library only field in avframes and is mainly used > for hardware API weirdness reasons.
It's not even necessary, that code can work without it. > Also another suggestion: should we add a few dozen bytes of padding at > the end of the avpacket structure so if anything were to happen > we wouldn't be block on waiting for a bump to add a field? Ugly, but I guess acceptable? Have to be pretty careful what you add though. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".