1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

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 <torresefrain10@gmail.com>
Reviewed-by: Leo Izen <leo.izen@gmail.com>
This commit is contained in:
dank074
2025-02-06 01:00:47 -06:00
committed by Leo Izen
parent f00a08c0ce
commit e945142df3

View File

@@ -89,6 +89,7 @@ static int unix_open(URLContext *h, const char *filename, int flags)
}
s->fd = fd;
h->is_streamed = 1;
return 0;