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

Function OutputTrackChunk

libhb/muxcommon.c:354–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354static void OutputTrackChunk( hb_mux_t *mux, int tk, hb_mux_object_t *m )
355{
356 hb_track_t *track = mux->track[tk];
357 hb_buffer_t *buf;
358
359 while ( ( buf = mf_peek( track ) ) != NULL && buf->s.start < mux->pts )
360 {
361 buf = mf_pull( mux, tk );
362 track->frames += 1;
363 track->bytes += buf->size;
364 m->mux( m, track->mux_data, buf );
365 }
366}
367
368static int muxWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
369 hb_buffer_t ** buf_out )

Callers 2

muxWorkFunction · 0.85
muxFlushFunction · 0.85

Calls 2

mf_peekFunction · 0.85
mf_pullFunction · 0.85

Tested by

no test coverage detected