MCPcopy Create free account
hub / github.com/byhook/ffmpeg4android / sub2video_flush

Function sub2video_flush

ffmpeg-single-cmd/src/main/cpp/ffmpeg_mod.c:295–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295static void sub2video_flush(InputStream *ist)
296{
297 int i;
298
299 if (ist->sub2video.end_pts < INT64_MAX)
300 sub2video_update(ist, NULL);
301 for (i = 0; i < ist->nb_filters; i++)
302 av_buffersrc_add_frame(ist->filters[i]->filter, NULL);
303}
304
305/* end of sub2video hack */
306

Callers 1

transcode_subtitlesFunction · 0.85

Calls 1

sub2video_updateFunction · 0.85

Tested by

no test coverage detected