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

Function getStreamId

libhb/sync.c:1872–1885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1870}
1871
1872static int getStreamId( sync_stream_t * stream )
1873{
1874 switch (stream->type)
1875 {
1876 case SYNC_TYPE_VIDEO:
1877 return stream->video.id;
1878 case SYNC_TYPE_AUDIO:
1879 return stream->audio.audio->id;
1880 case SYNC_TYPE_SUBTITLE:
1881 return stream->subtitle.subtitle->id;
1882 default:
1883 return -1;
1884 }
1885}
1886
1887static int UpdateSCR( sync_stream_t * stream, hb_buffer_t * buf )
1888{

Callers 2

UpdateSCRFunction · 0.85
QueueBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected