]> git.sesse.net Git - ffmpeg/commit
ffmpeg: delay processing of subtitles before filters are initialized
authorwm4 <nfxjfg@googlemail.com>
Thu, 2 Mar 2017 15:01:01 +0000 (16:01 +0100)
committerwm4 <nfxjfg@googlemail.com>
Fri, 3 Mar 2017 07:45:43 +0000 (08:45 +0100)
commit7dd44cde2abb156710f26a08b6cd6c8dd9a9793d
treed9339c09ab2b06216cd14127ee82d63cfe5014d5
parent736f4af4fea44d15c5d08558d3fe6f1a0fc98173
ffmpeg: delay processing of subtitles before filters are initialized

If a subtitle packet came before the first video frame could be fully
decoded, the subtitle packet would get discarded. This puts the subtitle
into a queue instead, and processes it once the attached filter graph is
initialized.
ffmpeg.c
ffmpeg.h
ffmpeg_filter.c