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

Function hb_stream_read

libhb/stream.c:1748–1759  ·  view source on GitHub ↗

* hb_stream_read *********************************************************************** * **********************************************************************/

Source from the content-addressed store, hash-verified

1746 *
1747 **********************************************************************/
1748hb_buffer_t * hb_stream_read( hb_stream_t * src_stream )
1749{
1750 if ( src_stream->hb_stream_type == ffmpeg )
1751 {
1752 return hb_ffmpeg_read( src_stream );
1753 }
1754 if ( src_stream->hb_stream_type == program )
1755 {
1756 return hb_ps_stream_decode( src_stream );
1757 }
1758 return hb_ts_stream_decode( src_stream );
1759}
1760
1761int64_t ffmpeg_initial_timestamp( hb_stream_t * stream )
1762{

Callers 2

reader_workFunction · 0.85
read_bufFunction · 0.85

Calls 3

hb_ffmpeg_readFunction · 0.85
hb_ps_stream_decodeFunction · 0.85
hb_ts_stream_decodeFunction · 0.85

Tested by

no test coverage detected