[FFmpeg-devel] [PATCH] seeking in asf files where audio streamis found before video
Michael Niedermayer
michaelni
Sun Jul 15 10:04:20 CEST 2007
Hi
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
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070715/a5190fe1/attachment.pgp>
More information about the ffmpeg-devel
mailing list