[FFmpeg-devel] [PATCH] avfilter: make it possible to return eof from graph when any sink first receives eof

Nicolas George george at nsup.org
Wed Feb 17 19:54:07 CET 2016


Le nonidi 29 pluviôse, an CCXXIV, Paul B Mahol a écrit :
> From f4d05fabeffd30ba83b85ca844f6d583f3794bd9 Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Wed, 17 Feb 2016 12:42:37 +0100
> Subject: [PATCH] avfilter: make possible to receive eof when shortest sink
>  ends

This is broken. There is no guarantee that EOF will arrive on the shortest
sink first. Even without really pathologic cases, there may be a lot of
buffering in some codecs or filters, so you could have the actually shortest
stream delayed enough so that a longest stream would end first.

Also, this is a part of the code I am changing in depth to get rid of
recursivity.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160217/b4661521/attachment.sig>


More information about the ffmpeg-devel mailing list