From acc136fd39dd917bdb4a651abcf88ae4a58f6db3 Mon Sep 17 00:00:00 2001 From: unclekingpin Date: Wed, 11 Oct 2023 12:37:24 -0700 Subject: [PATCH] reset video_params on Load --- src/models/player.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/player.rs b/src/models/player.rs index 5953b8300..7eebb592d 100644 --- a/src/models/player.rs +++ b/src/models/player.rs @@ -173,6 +173,7 @@ impl UpdateWithCtx for Player { }, _ => eq_update(&mut self.meta_item, None), }; + let video_params_effects = eq_update(&mut self.video_params, None); let subtitles_effects = subtitles_update::( &mut self.subtitles, &self.selected, @@ -241,6 +242,7 @@ impl UpdateWithCtx for Player { .join(update_streams_effects) .join(selected_effects) .join(meta_item_effects) + .join(video_params_effects) .join(subtitles_effects) .join(next_video_effects) .join(next_streams_effects)