diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-01 05:17:08 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-01 05:17:08 +0000 |
commit | a655984828a355ff85726587987d975105529cdb (patch) | |
tree | e411fdd2524144433e044d0b9293ddc3db4e3d12 /stream | |
parent | 7e5c327c5a2c49c135dd4a75a527b78655bbc1fd (diff) | |
download | mpv-a655984828a355ff85726587987d975105529cdb.tar.bz2 mpv-a655984828a355ff85726587987d975105529cdb.tar.xz |
Fix ao_null with float samples
ao_null accepts float input, but the code calculating ao_data.bps only
checked for 1-byte formats and used samplesize 2 for everything else.
Because ao_null uses the bps value in its timing calculations this
effectively made "playback" advance at half the correct speed.
Fixed by calculating samplesize with af_fmt2bits() instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25223 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions