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

fix inputfps for image sequences

parent 301ab443
...@@ -2886,7 +2886,7 @@ int main(int argc, char **argv) { ...@@ -2886,7 +2886,7 @@ int main(int argc, char **argv) {
for(info.passno=(info.twopass==3?1:info.twopass);info.passno<=(info.twopass==3?2:info.twopass);info.passno++){ for(info.passno=(info.twopass==3?1:info.twopass);info.passno<=(info.twopass==3?2:info.twopass);info.passno++){
//detect image sequences and set framerate if provided //detect image sequences and set framerate if provided
if (input_fmt != NULL && strcmp(input_fmt->name, "video4linux") >= 0) { if (!input_fmt || (input_fmt != NULL && strcmp(input_fmt->name, "video4linux") >= 0)) {
char buf[100]; char buf[100];
av_dict_set(&format_opts, "channel", "0", 0); av_dict_set(&format_opts, "channel", "0", 0);
if (convert->picture_width || convert->picture_height) { if (convert->picture_width || convert->picture_height) {
......
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