fftools/ffprobe: prefer fd over pipe for seek support
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
c926140558
commit
244f3cfbe3
@ -3714,7 +3714,7 @@ static void opt_input_file(void *optctx, const char *arg)
|
|||||||
exit_program(1);
|
exit_program(1);
|
||||||
}
|
}
|
||||||
if (!strcmp(arg, "-"))
|
if (!strcmp(arg, "-"))
|
||||||
arg = "pipe:";
|
arg = "fd:";
|
||||||
input_filename = arg;
|
input_filename = arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3733,7 +3733,7 @@ static void opt_output_file(void *optctx, const char *arg)
|
|||||||
exit_program(1);
|
exit_program(1);
|
||||||
}
|
}
|
||||||
if (!strcmp(arg, "-"))
|
if (!strcmp(arg, "-"))
|
||||||
arg = "pipe:";
|
arg = "fd:";
|
||||||
output_filename = arg;
|
output_filename = arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user