Commit f139a33f authored by Jan Gerber's avatar Jan Gerber
Browse files

set bitrate first

parent ce8c9a5f
...@@ -1812,11 +1812,11 @@ int main (int argc, char **argv){ ...@@ -1812,11 +1812,11 @@ int main (int argc, char **argv){
convert->video_bitrate=0; convert->video_bitrate=0;
break; break;
case 'V': case 'V':
convert->video_bitrate=rint(atof(optarg)*1000);
if (convert->video_bitrate < 1) { if (convert->video_bitrate < 1) {
fprintf(stderr, "Only values from 1 to 16000 are valid for video bitrate (in kb/s).\n"); fprintf(stderr, "Only values from 1 to 16000 are valid for video bitrate (in kb/s).\n");
exit(1); exit(1);
} }
convert->video_bitrate=rint(atof(optarg)*1000);
convert->video_quality=0; convert->video_quality=0;
break; break;
case 'a': case 'a':
......
Supports Markdown
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