mirror of
https://github.com/mpv-player/mpv
synced 2024-11-07 01:47:00 +01:00
c6d046414b
Remove the old implementation for these properties. It was never very good, often returned very innaccurate values or just 0, and was static even if the source was variable bitrate. Replace it with the implementation of "packet-video-bitrate". Mark the "packet-..." properties as deprecated. (The effective difference is different formatting, and returning the raw value in bits instead of kilobits.) Also extend the documentation a little. It appears at least some decoders (sipr?) need the AVCodecContext.bit_rate field set, so this one is still passed through. |
||
---|---|---|
.. | ||
decode | ||
filter | ||
out | ||
audio_buffer.c | ||
audio_buffer.h | ||
audio.c | ||
audio.h | ||
chmap_sel.c | ||
chmap_sel.h | ||
chmap.c | ||
chmap.h | ||
fmt-conversion.c | ||
fmt-conversion.h | ||
format.c | ||
format.h | ||
mixer.c | ||
mixer.h |