On Mon, Aug 26, 2019 at 04:02:14PM -0300, James Almer wrote: > ff_reget_buffer() will attempt to create a writable copy of the frame, > which is not needed when the decoder intends to return a reference to > the same buffer as the previous frame. > > Should reduce data copy, hopefully achieving a similar speed up as > a9dacdeea6168787a142209bd19fdd74aefc9dd6 without dropping frames. > > Signed-off-by: James Almer <jamr...@gmail.com> > --- > Now ensuring there's a previous frame available to reuse. > > libavcodec/qtrle.c | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-)
would a function like ff_reget_buffer() but that returns a read only frame simplify this ? Such function could then later also set any flag or UID either way patch LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Never trust a computer, one day, it may think you are the virus. -- Compn
signature.asc
Description: PGP signature
_______________________________________________ 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".