From 33d28d1e7bf2a9a9ff1c87360cd5af5fc3169d64 Mon Sep 17 00:00:00 2001 From: James Westman Date: Thu, 24 Oct 2019 18:46:55 -0500 Subject: [PATCH] Fix extra window appearing for some podcasts Fixes #156. --- podcasts-gtk/src/widgets/player.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/podcasts-gtk/src/widgets/player.rs b/podcasts-gtk/src/widgets/player.rs index 9a081d9..23a24be 100644 --- a/podcasts-gtk/src/widgets/player.rs +++ b/podcasts-gtk/src/widgets/player.rs @@ -213,6 +213,10 @@ impl Default for PlayerWidget { Some(&dispatcher.upcast::()), ); + // A few podcasts have a video track of the thumbnail, which GStreamer displays in a new + // window. Make sure it doesn't do that. + player.set_video_track_enabled(false); + let mpris = MprisPlayer::new( APP_ID.to_string(), "GNOME Podcasts".to_string(),