Commit 4490c684 authored by Mans Rullgard's avatar Mans Rullgard

mqarender: allow specifying target rate as multiple of input rate

parent db65c157
......@@ -106,6 +106,8 @@ int main(int argc, char **argv)
if (!rate2)
rate2 = 2 * rate1;
else if (rate2 <= 32)
rate2 = rate1 * rate2;
if (rate2 % rate1) {
fprintf(stderr, "Output rate must be multiple of input rate\n");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment