mirror of https://github.com/FFmpeg/FFmpeg.git
When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag. When parsing the stream, don't override the bit rate if it's already set, otherwise calculate the mean bit rate from parsed frames. This way, the bit rate will be set correctly both for CBR and VBR streams. CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>pull/12/merge
parent
4be368b504
commit
eae0879d96
2 changed files with 9 additions and 3 deletions
Loading…
Reference in new issue