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:
commit
a8246a96cd
@ -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(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user