[FFmpeg-devel] [PATCH] avidec: Mark first frame as keyframe in case there are no keyframes.
Michael Niedermayer
michaelni at gmx.at
Tue Jan 31 21:49:53 CET 2012
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)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- 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/20120131/b866d3af/attachment.asc>
More information about the ffmpeg-devel
mailing list