diff options
author | Martin Storsjö <martin@martin.st> | 2011-12-15 16:29:55 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-12-21 22:52:38 +0200 |
commit | 251f320f7deeae22d25c013fb29d162517dd3c91 (patch) | |
tree | f9ec4fb81df1cb7e998c0bc51a7be4f884dffbbd /libavformat/oggdec.h | |
parent | 195c123cc87bb46efbadb48b2f756ae49bdb6774 (diff) | |
download | ffmpeg-251f320f7deeae22d25c013fb29d162517dd3c91.tar.gz |
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ö <martin@martin.st>
Diffstat (limited to 'libavformat/oggdec.h')
0 files changed, 0 insertions, 0 deletions