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

Function streamFlush

libhb/sync.c:1224–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224static void streamFlush( sync_stream_t * stream )
1225{
1226 while (hb_list_count(stream->in_queue) > 0)
1227 {
1228 hb_buffer_t * buf;
1229
1230 buf = hb_list_item(stream->in_queue, 0);
1231 hb_list_rem(stream->in_queue, buf);
1232 hb_buffer_close(&buf);
1233 }
1234 fifo_push(stream->fifo_out, hb_buffer_eof_init());
1235}
1236
1237static void flushStreams( sync_common_t * common )
1238{

Callers 1

flushStreamsFunction · 0.85

Calls 6

hb_list_countFunction · 0.85
hb_list_itemFunction · 0.85
hb_list_remFunction · 0.85
hb_buffer_closeFunction · 0.85
fifo_pushFunction · 0.85
hb_buffer_eof_initFunction · 0.85

Tested by

no test coverage detected