mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-11-25 08:31:00 +00:00
fix compiler errors
This commit is contained in:
parent
23c799a88b
commit
8ad21ec161
2 changed files with 2 additions and 2 deletions
|
@ -727,7 +727,7 @@ impl FromStr for MediaPlaylist<'static> {
|
|||
type Err = Error;
|
||||
|
||||
fn from_str(input: &str) -> Result<Self, Self::Err> {
|
||||
Ok(parse_media_playlist(input, &mut Self::builder())?.into_owned())
|
||||
Ok(parse_media_playlist(input, &mut MediaPlaylist::builder())?.into_owned())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ use crate::types::ProtocolVersion;
|
|||
/// [`MediaPlaylist`]: crate::MediaPlaylist
|
||||
#[non_exhaustive]
|
||||
#[allow(missing_docs)]
|
||||
#[strum(serialize_all = "UPPERCASE")]
|
||||
#[derive(Ord, PartialOrd, Debug, Clone, Copy, PartialEq, Eq, Hash, Display, EnumString)]
|
||||
#[strum(serialize_all = "UPPERCASE")]
|
||||
pub enum InStreamId {
|
||||
Cc1,
|
||||
Cc2,
|
||||
|
|
Loading…
Reference in a new issue