mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2025-01-03 11:48:41 +00:00
reverted the feature statement, meant to be a not()
This commit is contained in:
parent
663e0607cf
commit
b7c2cb023d
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ impl AlternativeMedia {
|
|||
let default = is_yes!(attrs, "DEFAULT");
|
||||
let autoselect = is_yes!(attrs, "AUTOSELECT");
|
||||
|
||||
#[cfg(feature = "lenient")]
|
||||
#[cfg(not(feature = "lenient"))]
|
||||
if media_type != AlternativeMediaType::Subtitles && attrs.contains_key("FORCED") {
|
||||
return Err(String::from(
|
||||
"FORCED attribute must not be included in non-SUBTITLE Alternative Medias",
|
||||
|
|
Loading…
Reference in a new issue