[FFmpeg-devel] [PATCH] Seeking and resync support in nuv demuxer

Reimar Döffinger Reimar.Doeffinger
Sun Jun 8 00:31:12 CEST 2008


On Sat, Jun 07, 2008 at 11:07:54PM +0200, Michael Niedermayer wrote:
> On Sat, Jun 07, 2008 at 07:40:18PM +0200, Reimar D?ffinger wrote:
> > > +                av_add_index_entry(s->streams[frametype == NUV_VIDEO ? ctx->v_id : ctx->a_id]
> > > +                                 , pos, dts, size + HDRSIZE, 0, hdr[2] == 0 ? AVINDEX_KEYFRAME : 0);
> > 
> > And either way I really think this should not be done here at least.
> 
> That one should be fine, other demuxers do it as well

Well, IMO either this is desirable in general, then it should be done in some layer
above, if not it should still be done in some layer above just
conditionally.




More information about the ffmpeg-devel mailing list