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

Function saveChap

libhb/sync.c:200–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198static int OutputBuffer( sync_common_t * common );
199
200static void saveChap( sync_stream_t * stream, hb_buffer_t * buf )
201{
202 if (stream->type != SYNC_TYPE_VIDEO || buf == NULL)
203 {
204 return;
205 }
206 if (buf->s.new_chap > 0)
207 {
208 stream->video.new_chap = buf->s.new_chap;
209 }
210}
211
212static void restoreChap( sync_stream_t * stream, hb_buffer_t * buf )
213{

Callers 3

fixVideoOverlapFunction · 0.85
OutputBufferFunction · 0.85
QueueBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected