From e945142df34f88e11546d1943cff420fbd592698 Mon Sep 17 00:00:00 2001 From: dank074 Date: Thu, 6 Feb 2025 01:00:47 -0600 Subject: [PATCH] avformat/unix: set is_streamed to true Currently when a Unix Domain Socket is used as input there is a loss of data when data is consumed from the stream. Setting is_streamed to true fixes this, since the unix domain socket is now treated like a consumable stream. Fixes: #9346 Signed-off-by: dank074 Reviewed-by: Leo Izen --- libavformat/unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/unix.c b/libavformat/unix.c index 5704155cf0..fed215a691 100644 --- a/libavformat/unix.c +++ b/libavformat/unix.c @@ -89,6 +89,7 @@ static int unix_open(URLContext *h, const char *filename, int flags) } s->fd = fd; + h->is_streamed = 1; return 0;