MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / sq_limit_frames

Function sq_limit_frames

fftools/sync_queue.c:628–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628void sq_limit_frames(SyncQueue *sq, unsigned int stream_idx, uint64_t frames)
629{
630 SyncQueueStream *st;
631
632 av_assert0(stream_idx < sq->nb_streams);
633 st = &sq->streams[stream_idx];
634
635 st->frames_max = frames;
636 if (st->frames_sent >= st->frames_max)
637 finish_stream(sq, stream_idx);
638}
639
640void sq_frame_samples(SyncQueue *sq, unsigned int stream_idx,
641 int frame_samples)

Callers 2

sch_sq_add_encFunction · 0.85
setup_sync_queuesFunction · 0.85

Calls 1

finish_streamFunction · 0.85

Tested by

no test coverage detected