whether the sid indicates the elementary stream audio.
| 213 | |
| 214 | // whether the sid indicates the elementary stream audio. |
| 215 | inline bool is_audio(TsPESStreamId sid) { |
| 216 | return ((sid >> 5) & 0x07) == 0x06/*0b110*/; |
| 217 | } |
| 218 | |
| 219 | // whether the sid indicates the elementary stream video. |
| 220 | inline bool is_video(TsPESStreamId sid) { |