From b7c2cb023d76fb2f958326b039b091caa533422e Mon Sep 17 00:00:00 2001 From: Vadim Getmanshchuk Date: Tue, 14 Feb 2023 11:43:51 -0600 Subject: [PATCH] reverted the feature statement, meant to be a not() --- src/playlist.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist.rs b/src/playlist.rs index 53444bb..622d5f2 100644 --- a/src/playlist.rs +++ b/src/playlist.rs @@ -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",