diff options
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/stream.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/src/stream.rs b/common/src/stream.rs index 9fd7daf..ba91ff5 100644 --- a/common/src/stream.rs +++ b/common/src/stream.rs @@ -191,6 +191,11 @@ impl StreamSpec { index: get_num("index")? as IndexNum, container: get_container()?, }) + } else if query.contains_key("fragmentindex") { + Ok(Self::FragmentIndex { + segment: get_num("segment")? as SegmentNum, + track: get_num("track")? as TrackNum, + }) } else { Err("invalid stream spec") } |