[FFmpeg-cvslog] fftools/ffmpeg_demux: prefer fd over pipe for seek support

Zhao Zhili git at videolan.org
Wed Jan 11 05:06:42 EET 2023


ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Thu Dec 15 01:10:14 2022 +0800| [52eb2396d7be961d994224b6ffc9378d6a4c5c00] | committer: Zhao Zhili

fftools/ffmpeg_demux: prefer fd over pipe for seek support

Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=52eb2396d7be961d994224b6ffc9378d6a4c5c00
---

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

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:") &&



More information about the ffmpeg-cvslog mailing list