Add a dummy option -i to ffplay so that it is easy to switch between ffmpeg -i "file" and ffplay -i "file".
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
1a204f0760
commit
76d4c1676f
@ -214,6 +214,8 @@ unknown_opt:
|
||||
fprintf(stderr, "%s: failed to set value '%s' for option '%s'\n", argv[0], arg, opt);
|
||||
exit(1);
|
||||
}
|
||||
} else if (po->flags & OPT_DUMMY) {
|
||||
/* Do nothing for this option */
|
||||
} else {
|
||||
po->u.func_arg(arg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user