On Sat, Dec 2, 2017 at 1:05 AM, Hendrik Leppkes <h.lepp...@gmail.com> wrote:
>
>> @@ -2290,6 +2294,7 @@ static av_always_inline int 
>> process_frame(WriterContext *w,
>>      if (got_frame) {
>>          int is_sub = (par->codec_type == AVMEDIA_TYPE_SUBTITLE);
>>          nb_streams_frames[pkt->stream_index]++;
>> +        got_frame = 0;

Having looked at the logic some more, this part seems to be the key
(although implemented too broadly). We don't want to repeat the loop
for subtitles, so you set got_frame = 0 here - but you should only do
it for subtitles, not for everyhting.

- Hendrik
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to