[FFmpeg-devel] [PATCH] mpegtsenc: check for network write fail

Michael Niedermayer michaelni at gmx.at
Tue Aug 14 03:36:35 CEST 2012


On Mon, Aug 13, 2012 at 02:20:24PM +0300, Andrey Utkin wrote:
> Before this patch, writing frames to mpegts muxer via failed network connection returned "OK".
> 
> --8<---
> 
> ---
>  libavformat/mpegtsenc.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

maybe the check can be put in the generic libavformat code.
If it works this would solve it for all muxers and not just mpegts

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120814/010e496d/attachment.asc>


More information about the ffmpeg-devel mailing list