diff mbox series

[FFmpeg-devel,v3,8/8] fftools/ffmpeg_demux: prefer fd over pipe for seek support

Message ID tencent_4C509A2C40439A519F4FAB444E8770532D08@qq.com
State Accepted
Commit 52eb2396d7be961d994224b6ffc9378d6a4c5c00
Headers show
Series [FFmpeg-devel,v3,1/8] avformat/file: add fd option for pipe | expand


Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

zhilizhao(赵志立) Dec. 14, 2022, 5:10 p.m. UTC
From: Zhao Zhili <zhilizhao@tencent.com>

Because fate tests can concat multiple results to a single output, we can't
do the same for muxer, unless making a lot of modification on fate-run.sh.
Although unlikely, our users may do the same thing.

 fftools/ffmpeg_demux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index be0e8970ba..4b5c62b0d5 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -883,7 +883,7 @@  int ifile_open(const OptionsContext *o, const char *filename)
     if (!strcmp(filename, "-"))
-        filename = "pipe:";
+        filename = "fd:";
     stdin_interaction &= strncmp(filename, "pipe:", 5) &&
                          strcmp(filename, "fd:") &&