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:
James Westman 2019-10-24 23:51:23 +00:00
commit e70c9f5b35

View File

@ -213,6 +213,10 @@ impl Default for PlayerWidget {
Some(&dispatcher.upcast::<gst_player::PlayerSignalDispatcher>()), 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( let mpris = MprisPlayer::new(
APP_ID.to_string(), APP_ID.to_string(),
"GNOME Podcasts".to_string(), "GNOME Podcasts".to_string(),