[banshee] gstreamer: Fix fullscreen (bgo#734572)



commit adbcdb3dc323cbd155443475b445993a39042b83
Author: Stephan Sundermann <stephansundermann gmail com>
Date:   Sun Aug 10 02:51:35 2014 +0200

    gstreamer: Fix fullscreen (bgo#734572)
    
    Signed-off-by: Andrés G. Aragoneses <knocte gmail com>

 .../libbanshee/banshee-player-video.c              |    2 ++
 .../Banshee.GStreamerSharp/VideoManager.cs         |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamer/libbanshee/banshee-player-video.c 
b/src/Backends/Banshee.GStreamer/libbanshee/banshee-player-video.c
index eb95c3f..55c41b9 100644
--- a/src/Backends/Banshee.GStreamer/libbanshee/banshee-player-video.c
+++ b/src/Backends/Banshee.GStreamer/libbanshee/banshee-player-video.c
@@ -151,6 +151,7 @@ bp_video_bus_element_sync_message (GstBus *bus, GstMessage *message, BansheePlay
 
     if (found_video_overlay) {
         gst_video_overlay_set_window_handle (player->video_overlay, player->video_window_xid);
+        gst_video_overlay_handle_events (player->video_overlay, TRUE);
     }
 
     #endif
@@ -358,6 +359,7 @@ bp_video_window_expose (BansheePlayer *player, GdkWindow *window, gboolean direc
     gst_object_ref (player->video_overlay);
 
     gst_video_overlay_set_window_handle (player->video_overlay, player->video_window_xid);
+    gst_video_overlay_handle_events (player->video_overlay, TRUE);
     gst_video_overlay_expose (player->video_overlay);
 
     gst_object_unref (player->video_overlay);
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/VideoManager.cs 
b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/VideoManager.cs
index aba78a6..9f08e2e 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/VideoManager.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/VideoManager.cs
@@ -122,6 +122,7 @@ namespace Banshee.GStreamerSharp
 
             if (found_xoverlay) {
                 xoverlay.WindowHandle = video_window_xid.Value;
+                xoverlay.HandleEvents (true);
             }
         }
 
@@ -149,6 +150,7 @@ namespace Banshee.GStreamerSharp
             }
 
             xoverlay.WindowHandle = video_window_xid.Value;
+            xoverlay.HandleEvents (true);
             return true;
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]