vtenc: Fix conversion of the bitrate property and our internal bitrate storage
authorSebastian Dröge <sebastian@centricular.com>
Fri, 5 Dec 2014 15:15:23 +0000 (16:15 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 5 Dec 2014 15:17:16 +0000 (16:17 +0100)
commit1a2362eb2b5ae156c89dfeb2e54d02deb045a8cc
tree9a7f69c63cd90681e24327e9034ff0f00b7d57b2
parent226a4fcea39a30cb1c5ca56a720fd0267ca3d0b9
vtenc: Fix conversion of the bitrate property and our internal bitrate storage

The property is in kbit/s and we store it in bit/s, so just multiply and
divide by 1000. No need to put a factor of 8 in there.

kVTCompressionPropertyKey_AverageBitRate is also in bit/s according to
its documentation.
sys/applemedia/vtenc.c