MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_fifo_flush

Function hb_fifo_flush

libhb/fifo.c:1543–1556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1541}
1542
1543void hb_fifo_flush( hb_fifo_t * f )
1544{
1545 hb_buffer_t * b;
1546
1547 while( ( b = hb_fifo_get( f ) ) )
1548 {
1549 hb_buffer_close( &b );
1550 }
1551 hb_lock( f->lock );
1552 hb_cond_signal( f->cond_empty );
1553 hb_cond_signal( f->cond_full );
1554 hb_unlock( f->lock );
1555
1556}
1557
1558#if defined(HB_BUFFER_DEBUG)
1559static int hb_fifo_contains( hb_fifo_t *f, hb_buffer_t *b )

Callers 3

ScanFuncFunction · 0.85
DecodePreviewsFunction · 0.85
LookForAudioFunction · 0.85

Calls 5

hb_fifo_getFunction · 0.85
hb_buffer_closeFunction · 0.85
hb_lockFunction · 0.85
hb_cond_signalFunction · 0.85
hb_unlockFunction · 0.85

Tested by

no test coverage detected