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

Function hb_chapter_dequeue

libhb/common.c:7030–7046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7028}
7029
7030void hb_chapter_dequeue(hb_chapter_queue_t *q, hb_buffer_t *buf)
7031{
7032 hb_chapter_queue_item_t *item = hb_list_item(q->list_chapter, 0);
7033 if (item != NULL)
7034 {
7035 if (buf->s.start < item->start)
7036 {
7037 // Have not reached the next chapter yet.
7038 return;
7039 }
7040
7041 // we're done with this chapter
7042 hb_list_rem(q->list_chapter, item);
7043 buf->s.new_chap = item->new_chap;
7044 free(item);
7045 }
7046}
7047
7048int hb_get_bit_depth(int format)
7049{

Callers 5

nal_encodeFunction · 0.85
receiveFunction · 0.85
nal_encodeFunction · 0.85
get_packetsFunction · 0.85
hb_vt_get_bufFunction · 0.85

Calls 2

hb_list_itemFunction · 0.85
hb_list_remFunction · 0.85

Tested by

no test coverage detected