[FFmpeg-devel] [PATCH/RFC] Detecting EOF in RTMP
Thu Dec 10 16:48:03 CET 2009
On Thu, 10 Dec 2009, Kostya wrote:
> Looks OK, if someone can test it does not have regressions against
> unpatched code on RTMP streams from
> then he can apply it, otherwise I'll do that tomorrow.
Would it btw be good to add a
if (rt->state == STATE_STOPPED)
to the beginning of get_packet? Otherwise an extra call to get_packet
after receiving the EOF could trigger reading another rtmp packet, which
could block (almost) indefinitely?
More information about the ffmpeg-devel