+ SIPHON_STREAM // The only one that can have stream_index != 0.
+ };
+ struct StreamID {
+ StreamType type;
+ unsigned index;
+
+ bool operator< (const StreamID &other) const {
+ if (type != other.type)
+ return type < other.type;
+ return index < other.index;
+ }
+ bool operator== (const StreamID &other) const {
+ return (type == other.type && index == other.index);
+ }