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

Function MoveToInternalFifos

libhb/muxcommon.c:339–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339static void MoveToInternalFifos( int tk, hb_mux_t *mux, hb_buffer_t * buf )
340{
341 // move all the buffers on the track's fifo to our internal
342 // fifo so that (a) we don't deadlock in the reader and
343 // (b) we can control how data from multiple tracks is
344 // interleaved in the output file.
345 mf_push( mux, tk, buf );
346 if ( buf->s.start >= mux->pts )
347 {
348 // buffer is past our next interleave point so
349 // note that this track is ready to be output.
350 hb_bitvec_set(mux->rdy, tk);
351 }
352}
353
354static void OutputTrackChunk( hb_mux_t *mux, int tk, hb_mux_object_t *m )
355{

Callers 1

muxWorkFunction · 0.85

Calls 2

mf_pushFunction · 0.85
hb_bitvec_setFunction · 0.85

Tested by

no test coverage detected