Changeset 790a367d in ffmpeg
- Timestamp:
-
Feb 26, 2012, 2:50:59 PM
(13 years ago)
- Author:
- Reinhard Tartler <siretart@tauware.de>
- Branches:
- master
- Children:
- 13f6917
- Parents:
- d3783f47
- git-author:
- Reinhard Tartler <siretart@tauware.de> (02/26/12 09:50:45)
- git-committer:
- Reinhard Tartler <siretart@tauware.de> (02/26/12 14:50:59)
- Message:
-
Fix parser not to clobber has_b_frames when extradata is set.
Because in contrast to the decoder, the parser does not setup 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.
This happens for instance in estimate_timings_from_pts(), which causes the
parser to be reopened on the same stream.
This fixes Libav #22 and FFmpeg (trac) #360
CC: libav-stable@libav.org
Based on a patch by Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(commit 31ac0ac29b6bba744493f7d1040757a3f51b9ad7)
Comments and description adapted by Reinhard Tartler.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-
(No files)
-