Merge branch 'fix-156' into 'master'

Fix extra window appearing for some podcasts

Closes #156

See merge request World/podcasts!128
This commit is contained in:
Jordan Petridis 2019-10-25 00:28:19 +00:00
commit a8246a96cd

View File

@ -213,6 +213,10 @@ impl Default for PlayerWidget {
Some(&dispatcher.upcast::<gst_player::PlayerSignalDispatcher>()),
);
// 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(),