[vlc-devel] [PATCH 2/3] live555: discard truncated frames

Rémi Denis-Courmont remi at remlab.net
Sun May 24 20:33:52 CEST 2009

Le dimanche 24 mai 2009 21:19:42 Ben Hutchings, vous avez écrit :
> On Sun, 2009-05-24 at 20:49 +0300, Rémi Denis-Courmont wrote:
> > Le dimanche 24 mai 2009 17:14:15 Ben Hutchings, vous avez écrit :
> > > Not all demuxers can cope with truncated frames, so discard them.
> >
> > You are implying some can cope (I don't know, but I guess TS does). Then,
> > it looks like this is the wrong place to discard those frames... ?
> Where else would we do that?
> What I found with DV was that the demuxer will decode only part of each
> frame, even though only the first two frames are truncated.  Discarding
> the truncated frames avoids this.

I guess the problem is that you're chaining demuxers, so you cannot rely on 
block flags. Then you may want to discard them in the live555 plugin *but* 
only for DV. Otherwise I don't know.

Rémi Denis-Courmont

More information about the vlc-devel mailing list