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

Function copy_chapter

libhb/work.c:2250–2262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2248}
2249
2250static inline void copy_chapter( hb_buffer_t * dst, hb_buffer_t * src )
2251{
2252 // Propagate any chapter breaks for the worker if and only if the
2253 // output frame has the same time stamp as the input frame (any
2254 // worker that delays frames has to propagate the chapter marks itself
2255 // and workers that move chapter marks to a different time should set
2256 // 'src' to NULL so that this code won't generate spurious duplicates.)
2257 if( src && dst && src->s.start == dst->s.start && src->s.new_chap != 0)
2258 {
2259 // restore log below to debug chapter mark propagation problems
2260 dst->s.new_chap = src->s.new_chap;
2261 }
2262}
2263
2264/**
2265 * Performs the work object's specific work function.

Callers 1

hb_work_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected