Fix m4b encoder bitrate preset selection #4337

This commit is contained in:
advplyr committed 2025-05-25 16:12:35 -05:00
1 parent d03c338b48
commit f05a513767
1 file changed
+1 -1
@@ -162,7 +162,7 @@ export default {
} else {
// Find closest bitrate rounding up
const bitratesToMatch = [32, 64, 128, 192]
const closestBitrate = bitratesToMatch.find((bitrate) => bitrate >= this.currentBitrate)
const closestBitrate = bitratesToMatch.find((bitrate) => bitrate >= this.currentBitrate) || 192
this.selectedBitrate = closestBitrate + 'k'
}