On Wed, Dec 21, 2011 at 12:53 PM, Martin Storsjö <[email protected]> wrote:
> Module: libav > Branch: master > Commit: 251f320f7deeae22d25c013fb29d162517dd3c91 > > Author: Martin Storsjö <[email protected]> > Committer: Martin Storsjö <[email protected]> > Date: Thu Dec 15 16:29:55 2011 +0200 > > flvdec: Export new AAC/H.264 extradata as side data on the next packet > > Compared to just overwriting the old extradata, this has the > advantage of letting the decoder know exactly when the > extradata changed (otherwise it is changed immediately when the > new extradata packet is demuxed, even if there's old queued packets > awaiting to be decoded). This makes it easier for decoders to > actually react to the change, so they won't have to inspect > the extradata for each packet to see if it might have changed. > > This works when sequentially playing a file with sample rate > changes, but if seeking past a new extradata packet in the > file, it obviously doesn't work properly. That case doesn't > work in flash player either, so it's probably ok not to handle > it. > > Signed-off-by: Martin Storsjö <[email protected]> > > --- > > Bad things seem to happen to the SBR grid when this happens.
_______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
