[banshee/f21] fixed version of last patch, thanks to Fabrice Bellet

Tom Callaway spot at fedoraproject.org
Tue Dec 2 19:54:59 UTC 2014


commit 0937f956046304ee7380ec58a5ed034144923642
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Dec 2 14:54:57 2014 -0500

    fixed version of last patch, thanks to Fabrice Bellet

 banshee-2.6.2-gst1.0-handle-events-fix.patch |   22 ++++++++++++++--------
 banshee.spec                                 |    5 ++++-
 2 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/banshee-2.6.2-gst1.0-handle-events-fix.patch b/banshee-2.6.2-gst1.0-handle-events-fix.patch
index b1231cc..0cad243 100644
--- a/banshee-2.6.2-gst1.0-handle-events-fix.patch
+++ b/banshee-2.6.2-gst1.0-handle-events-fix.patch
@@ -1,13 +1,19 @@
-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
+--- banshee-2.6.2.orig/libbanshee/banshee-player-video.c	2014-11-29 18:16:53.951304991 +0100
++++ banshee-2.6.2.orig/libbanshee/banshee-player-video.c	2014-11-29 18:19:50.559560282 +0100
+@@ -75,9 +75,13 @@ bp_video_find_video_overlay (BansheePlay
+     }
+ #endif
      
-     if (player->video_overlay != NULL && g_object_class_find_property (
-         G_OBJECT_GET_CLASS (player->video_overlay), "handle-events")) {
+-    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);
++    if (player->video_overlay != NULL) {
++        if (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);
++        } else {
++            gst_video_overlay_handle_events (player->video_overlay, FALSE);
++        }
      }
  
      gst_object_unref (video_sink);
diff --git a/banshee.spec b/banshee.spec
index 4d07bfe..8b9f8f2 100644
--- a/banshee.spec
+++ b/banshee.spec
@@ -1,6 +1,6 @@
 Name:    banshee
 Version: 2.6.2
-Release: 6%{?dist}
+Release: 7%{?dist}
 Summary: Easily import, manage, and play selections from your music collection
 
 License: MIT
@@ -177,6 +177,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 %{_libdir}/pkgconfig/banshee-*.pc
 
 %changelog
+* Tue Dec  2 2014 Tom Callaway <spot at fedoraproject.org> 2.6.2-7
+- fixed version of last patch, thanks to Fabrice Bellet
+
 * Wed Nov 26 2014 Tom Callaway <spot at fedoraproject.org> 2.6.2-6
 - add fix to allow vaapisink in gst1.0 to handle GstNavigation stuff properly (bz1167029)
 


More information about the scm-commits mailing list