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

Function sq_receive

fftools/sync_queue.c:586–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586int sq_receive(SyncQueue *sq, int stream_idx, SyncQueueFrame frame)
587{
588 int ret = receive_internal(sq, stream_idx, frame);
589
590 /* try again if the queue overflowed and triggered a fake heartbeat
591 * for lagging streams */
592 if (ret == AVERROR(EAGAIN) && overflow_heartbeat(sq, stream_idx))
593 ret = receive_internal(sq, stream_idx, frame);
594
595 return ret;
596}
597
598int sq_add_stream(SyncQueue *sq, int limiting)
599{

Callers 2

sync_queue_processFunction · 0.85
send_to_enc_sqFunction · 0.85

Calls 2

receive_internalFunction · 0.85
overflow_heartbeatFunction · 0.85

Tested by

no test coverage detected