[FFmpeg-devel] [PATCH] avformat/unix: Set is_streamed to true

Michael Niedermayer michael at niedermayer.cc
Mon Feb 10 00:58:49 EET 2025


Hi Efrain

On Wed, Feb 05, 2025 at 07:25:23PM -0600, Efrain Torres wrote:
> 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 at gmail.com>
> ---
>  libavformat/unix.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/unix.c b/libavformat/unix.c
> index 5704155cf0..2de4023835 100644
> --- a/libavformat/unix.c
> +++ b/libavformat/unix.c
> @@ -89,7 +89,7 @@ static int unix_open(URLContext *h, const char *filename,
> int flags)
>      }

This patch is corrupted by a newline, check your editors word/line wrap settings
OR
attach the patch
OR
use git send-email

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250209/6605cd58/attachment.sig>


More information about the ffmpeg-devel mailing list