Skip to content
Snippets Groups Projects
Commit 4490c684 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

mqarender: allow specifying target rate as multiple of input rate

parent db65c157
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment