summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-09-04 14:23:39 +0200
committerJonas Smedegaard <dr@jones.dk>2014-09-04 14:23:39 +0200
commit0cec03d2dcb1b851867438f32da9d522d60cb96c (patch)
treebe75220304baf9c270e2a6d4ae57f3cb8c61fcd6
parent30ca1250b6e50ccd0e4bbfc0f4a0a3e63e95368b (diff)
Fix always set per-code-channel bitrates (not only via audio style).
-rwxr-xr-xlocalvideowebencode6
1 files changed, 4 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode
index ee2d79b..1dd97ce 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -236,11 +236,13 @@ case "$h264profile" in
*) exit1 "Unknown MPEG-4 AVC profile \"$h264profile\".";;
esac
+# default per-codec-channel bitrates
+bitrate_vorbis=64
+bitrate_aac=96
+
case "$audio" in
music)
channels=2
- bitrate_vorbis=64
- bitrate_aac=96
;;
speech)
channels=1