[FFmpeg-devel] FRAPS skip frame handling

Michael Niedermayer michaelni at gmx.at
Sun Jan 22 07:24:47 CET 2012


On Sat, Jan 21, 2012 at 08:16:45PM +0100, Reimar Döffinger wrote:
> On Sat, Jan 21, 2012 at 03:33:16PM +0100, Michael Niedermayer wrote:
> > On Sat, Jan 21, 2012 at 10:25:10AM +0100, Reimar Döffinger wrote:
> > > Hello,
> > > 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
> 
> That does not seem to work, breaks the time stamps:

hmm, what timestamps go into the decoder and what comes out ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- 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/20120122/407632a9/attachment.asc>


More information about the ffmpeg-devel mailing list