| 398 | } |
| 399 | |
| 400 | static kind_t ts_stream_kind( hb_stream_t * stream, int idx ) |
| 401 | { |
| 402 | if ( stream->ts.list[idx].pes_list != -1 ) |
| 403 | { |
| 404 | // Returns kind for the first pes substream in the pes list |
| 405 | // All substreams in a TS stream are the same kind. |
| 406 | return stream->pes.list[stream->ts.list[idx].pes_list].stream_kind; |
| 407 | } |
| 408 | else |
| 409 | { |
| 410 | return U; |
| 411 | } |
| 412 | } |
| 413 | |
| 414 | static kind_t ts_stream_type( hb_stream_t * stream, int idx ) |
| 415 | { |
no outgoing calls
no test coverage detected