adaptivedemux: Fix bitrate printed in debug

The download bitrate is already in bits per second,
no need to multiply it by 8 again when printing it
for debug.
This commit is contained in:
Jan Schmidt 2017-01-13 23:10:52 +11:00
parent 691b5968e1
commit 1f2bc4a684

View file

@ -2026,8 +2026,7 @@ gst_adaptive_demux_stream_update_current_bitrate (GstAdaptiveDemux * demux,
stream->current_download_rate *= demux->bitrate_limit; stream->current_download_rate *= demux->bitrate_limit;
GST_DEBUG_OBJECT (demux, "Bitrate after bitrate limit (%0.2f): %" GST_DEBUG_OBJECT (demux, "Bitrate after bitrate limit (%0.2f): %"
G_GUINT64_FORMAT, demux->bitrate_limit, G_GUINT64_FORMAT, demux->bitrate_limit, stream->current_download_rate);
stream->current_download_rate * 8);
#if 0 #if 0
/* Debugging code, modulate the bitrate every few fragments */ /* Debugging code, modulate the bitrate every few fragments */