mirror of https://github.com/mpv-player/mpv
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. |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
dxva2.c | ||
gpu_memcpy_sse4.h | ||
lavc.h | ||
rpi.c | ||
vaapi.c | ||
vd.h | ||
vd_lavc.c | ||
vda.c | ||
vdpau.c |