From 51a8b29900b06dd8282ee393258fcba5e8f99836 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Nov 26 2014 19:54:04 +0000 Subject: apply fix for handle-events setting via vaapisink in gst1.0, bz1167029 --- diff --git a/banshee-2.6.2-gst1.0-handle-events-fix.patch b/banshee-2.6.2-gst1.0-handle-events-fix.patch new file mode 100644 index 0000000..b1231cc --- /dev/null +++ b/banshee-2.6.2-gst1.0-handle-events-fix.patch @@ -0,0 +1,13 @@ +diff -up banshee-2.6.2/libbanshee/banshee-player-video.c.handle-events-fix banshee-2.6.2/libbanshee/banshee-player-video.c +--- banshee-2.6.2/libbanshee/banshee-player-video.c.handle-events-fix 2014-11-26 14:49:59.855157084 -0500 ++++ banshee-2.6.2/libbanshee/banshee-player-video.c 2014-11-26 14:51:13.694696801 -0500 +@@ -77,7 +77,8 @@ bp_video_find_video_overlay (BansheePlay + + if (player->video_overlay != NULL && g_object_class_find_property ( + G_OBJECT_GET_CLASS (player->video_overlay), "handle-events")) { +- g_object_set (G_OBJECT (player->video_overlay), "handle-events", FALSE, NULL); ++ /* g_object_set (G_OBJECT (player->video_overlay), "handle-events", FALSE, NULL); */ ++ gst_video_overlay_handle_events (player->video_overlay, FALSE); + } + + gst_object_unref (video_sink); diff --git a/banshee.spec b/banshee.spec index 4aa916f..4d07bfe 100644 --- a/banshee.spec +++ b/banshee.spec @@ -1,6 +1,6 @@ Name: banshee Version: 2.6.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Easily import, manage, and play selections from your music collection License: MIT @@ -14,6 +14,8 @@ Patch4: Don-t-use-the-new-decoded-pad-signal-of-decodebin.patch Patch5: Use-new-style-GStreamer-1.0-raw-audio-caps-in-the-WA.patch # Backported crash fix from upstream Patch6: Dont-try-to-mount-null-devices.patch +# Bugzilla 1167029 +Patch7: banshee-2.6.2-gst1.0-handle-events-fix.patch # Mono only available on these: ExclusiveArch: %{mono_arches} @@ -105,6 +107,7 @@ developing extensions for %{name}. %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 -b .handle-events-fix %build # Snapshots only @@ -174,6 +177,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %{_libdir}/pkgconfig/banshee-*.pc %changelog +* Wed Nov 26 2014 Tom Callaway 2.6.2-6 +- add fix to allow vaapisink in gst1.0 to handle GstNavigation stuff properly (bz1167029) + * Sat Aug 16 2014 Rex Dieter 2.6.2-5 - update mime scriptlets