[FFmpeg-devel] [PATCH] avidec: Mark first frame as keyframe in case there are no keyframes.

Michael Niedermayer michaelni at gmx.at
Thu Jul 19 18:08:51 CEST 2012


On Mon, Mar 12, 2012 at 06:43:06AM +0100, Michael Niedermayer wrote:
> On Tue, Jan 31, 2012 at 09:49:53PM +0100, Michael Niedermayer wrote:
> > On Tue, Jan 31, 2012 at 09:19:36AM +0100, Reimar Döffinger wrote:
> > > On 30 Jan 2012, at 23:58, Michael Niedermayer <michaelni at gmx.at> wrote:
> > > > This fixes seeking in filecopy.avi of Ticket504
> > > 
> > > This doesn't seem right to me to handle at demuxer level.
> > > For example for an auto-generated index the demuxer will not even be able to do such a hack.
> > > It seems more sensible for me for the seeking function to validate the index and have some fallback behaviour if it does not make sense.
> > 
> > well, that would make seeking O(n) while its O(log n) ATM, we at least
> > have to validate during adding index entries
> > 
> > and iam not sure if doing this for non avi makes sense (cut mpg surely
> > can start with non keyframes)
> 
> Are there still objections against the patch ?
> Any volunteers to implement a different solution ?
> I would prefer to commit some fix. Which fix doesnt really matter to
> me ...

applied original patch


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20120719/6d3a9738/attachment.asc>


More information about the ffmpeg-devel mailing list