Changeset 31ac0ac2 in ffmpeg

Timestamp:
Aug 20, 2011, 10:29:03 AM (13 years ago)
Author:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Branches:
master
Children:
69e2c1a9
Parents:
13e9a0fb
git-author:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> (08/19/11 20:38:34)
git-committer:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> (08/20/11 10:29:03)
Message:

Fix parser not to clobber has_b_frames when extradata is set.

Due to it in contrast to the decoder not setting up low_delay,
the code in parse_nal_units would always end up setting has_b_frames
to 1 (except when stream is explicitly marked as low delay).
Since the parser itself would create extradata, simply reopening
the parser would cause this.
estimate_timings_from_pts would cause the parser to be reopened
on the same stream.

This fixes trac issue #360.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>

(No files)

Note: See TracChangeset for help on using the changeset viewer.