mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-09-27 14:10:05 +00:00
improve VariantStream
This commit is contained in:
parent
78edff9341
commit
025add6dc3
1 changed files with 4 additions and 0 deletions
|
@ -377,6 +377,10 @@ impl Deref for VariantStream {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl PartialEq<&VariantStream> for VariantStream {
|
||||||
|
fn eq(&self, other: &&Self) -> bool { self.eq(*other) }
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
Loading…
Reference in a new issue