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

Function sub2video_push_ref

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

Source from the content-addressed store, hash-verified

217}
218
219static void sub2video_push_ref(InputStream *ist, int64_t pts)
220{
221 AVFrame *frame = ist->sub2video.frame;
222 int i;
223
224 av_assert1(frame->data[0]);
225 ist->sub2video.last_pts = frame->pts = pts;
226 for (i = 0; i < ist->nb_filters; i++)
227 av_buffersrc_add_frame_flags(ist->filters[i]->filter, frame,
228 AV_BUFFERSRC_FLAG_KEEP_REF |
229 AV_BUFFERSRC_FLAG_PUSH);
230}
231
232void sub2video_update(InputStream *ist, AVSubtitle *sub)
233{

Callers 2

sub2video_updateFunction · 0.85
sub2video_heartbeatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected