diff -Nru rhythmbox-3.3/debian/changelog rhythmbox-3.3/debian/changelog --- rhythmbox-3.3/debian/changelog 2016-03-16 08:48:12.000000000 +0000 +++ rhythmbox-3.3/debian/changelog 2016-04-13 21:08:27.000000000 +0000 @@ -1,3 +1,11 @@ +rhythmbox (3.3-1ubuntu7) xenial; urgency=medium + + * debian/patches/git_xfade_crash.patch: + - don't segfault when trying to e.g play a CD with crossfading enabled + (lp: #1545764) + + -- Sebastien Bacher Wed, 13 Apr 2016 15:06:32 -0600 + rhythmbox (3.3-1ubuntu6) xenial; urgency=medium * debian/patches/git_no_pause_notification.patch: diff -Nru rhythmbox-3.3/debian/patches/git_xfade_crash.patch rhythmbox-3.3/debian/patches/git_xfade_crash.patch --- rhythmbox-3.3/debian/patches/git_xfade_crash.patch 1970-01-01 00:00:00.000000000 +0000 +++ rhythmbox-3.3/debian/patches/git_xfade_crash.patch 2016-04-13 21:08:27.000000000 +0000 @@ -0,0 +1,33 @@ +https://bugzilla.gnome.org/show_bug.cgi?id=762087 +--- + backends/gstreamer/rb-player-gst-xfade.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c +index f449b7d..0f53f25 100644 +--- a/backends/gstreamer/rb-player-gst-xfade.c ++++ b/backends/gstreamer/rb-player-gst-xfade.c +@@ -2059,6 +2059,13 @@ add_stream_uri_tag (GstPad *pad, RBXFadeStream *stream) + + /* uridecodebin src -> decodebin src */ + t2 = gst_ghost_pad_get_target (GST_GHOST_PAD (pad)); ++ if (GST_IS_GHOST_PAD (t2) == FALSE) { ++ /* raw sources get exposed directly */ ++ rb_debug ("not setting stream uri for raw stream"); ++ gst_object_unref (t2); ++ gst_tag_list_unref (t); ++ return; ++ } + + /* decodebin src -> actual decoder src */ + target = gst_ghost_pad_get_target (GST_GHOST_PAD (t2)); +@@ -2080,6 +2087,7 @@ add_stream_uri_tag (GstPad *pad, RBXFadeStream *stream) + gst_object_unref (sink); + } else { + rb_debug ("not setting stream uri tag for %s", GST_OBJECT_NAME (e)); ++ gst_tag_list_unref (t); + } + gst_object_unref (e); + +-- +cgit v0.12 diff -Nru rhythmbox-3.3/debian/patches/series rhythmbox-3.3/debian/patches/series --- rhythmbox-3.3/debian/patches/series 2016-03-16 08:48:12.000000000 +0000 +++ rhythmbox-3.3/debian/patches/series 2016-04-13 21:08:27.000000000 +0000 @@ -9,3 +9,4 @@ 0001-Port-rb-podcast-properties-dialog-to-webkit2.patch 0002-grilo-container-max-tracks.patch git_no_pause_notification.patch +git_xfade_crash.patch