[FFmpeg-devel] [PATCH] seeking in asf files where audio streamis found before video
Sun Jul 15 10:04:20 CEST 2007
On Sun, Jul 15, 2007 at 12:38:12AM +0200, elupus wrote:
> > > if (asf->packet_size <= 0)
> > > return -1;
> > >
> > > + if (st->codec->codec_type != CODEC_TYPE_VIDEO)
> > > + return -1;
> > > +
> > why should we fail on all non video streams this is just a ugly
> > hack
> Technically it wouldn't fail completly as the general rutines would handle
> the seek instead. I suppose it's a matter of how one should interpret the
> asf index. ie if it's global or only refers to video frames.
> If we consider the index in asf's global, how about always loading the index
> on the first asf stream (not neccesarily the one the seek was issued on) and
> always using that stream during seeks?
doesnt sound like you could seek to a keyframe with that ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the ffmpeg-devel