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

Function fixStreamTimestamps

libhb/sync.c:1192–1210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1190}
1191
1192static void fixStreamTimestamps( sync_stream_t * stream )
1193{
1194 // Fix gaps and overlaps in queue
1195 if (stream->type == SYNC_TYPE_AUDIO)
1196 {
1197 dejitterAudio(stream);
1198 fixAudioOverlap(stream);
1199 fixAudioGap(stream);
1200 }
1201 else if (stream->type == SYNC_TYPE_VIDEO)
1202 {
1203 dejitterVideo(stream);
1204 fixVideoOverlap(stream);
1205 }
1206 else if (stream->type == SYNC_TYPE_SUBTITLE)
1207 {
1208 fixSubtitleOverlap(stream);
1209 }
1210}
1211
1212static void fifo_push( hb_fifo_t * fifo, hb_buffer_t * buf )
1213{

Callers 1

OutputBufferFunction · 0.85

Calls 6

dejitterAudioFunction · 0.85
fixAudioOverlapFunction · 0.85
fixAudioGapFunction · 0.85
dejitterVideoFunction · 0.85
fixVideoOverlapFunction · 0.85
fixSubtitleOverlapFunction · 0.85

Tested by

no test coverage detected