[FFmpeg-devel] [PATCH v2 03/10] avformat/tee: Support flushing by writing NULL pkt

Marton Balint cus at passwd.hu
Sat Jul 16 02:51:38 EEST 2016


On Mon, 11 Jul 2016, sebechlebskyjan at gmail.com wrote:

> From: Jan Sebechlebsky <sebechlebskyjan at gmail.com>
>
> This will add support for flushing by writing NULL
> packet to the tee muxer, which propagates the action
> to slave muxers as expected.
>
> Signed-off-by: Jan Sebechlebsky <sebechlebskyjan at gmail.com>
> ---
> Unfortunately, I've realized that I've forgotten to set AVFMT_ALLOW_FLUSH
> flag to the tee muxer to make it flushable. I've also changed commit 
> message, because crash without AVFMT_ALLOW_FLUSH would not happen
> if write_packet is not called directly with NULL argument.
> This version should be allright.
>

Thanks, applied.

Regards,
Marton


More information about the ffmpeg-devel mailing list