[FFmpeg-devel] FRAPS skip frame handling
michaelni at gmx.at
Sat Jan 21 15:33:16 CET 2012
On Sat, Jan 21, 2012 at 10:25:10AM +0100, Reimar Döffinger wrote:
> the FRAPS decoder seems to use reget_buffer for the single purpose of
> skip frame handling.
> This seems wasteful to me, isn't there some simpler way API-wise to
> indicate "no change"/shouldn't just returning 0 work just as well?
> One other reason to want to change it is because this seems like the
> only thing making it possibly non-trivial (though not difficult I guess)
> to make the decoder frame-multithreaded.
set data_size to 0 return buf_size
h263dec.c does it too
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel