
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. Signed-off-by: Alexander Kojevnikov <alexander@kojevnikov.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 29d8cd265a536063420afe78375b2176a9e1abc5) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 lines
151 B
Plaintext
4 lines
151 B
Plaintext
7fcf80c2059b5c058a6cdd2e2f798b6c *./tests/data/lavf-fate/lavf.mp3
|
|
96366 ./tests/data/lavf-fate/lavf.mp3
|
|
./tests/data/lavf-fate/lavf.mp3 CRC=0x6c9850fe
|