Skip to content

Commit

Permalink
gstreamer: Fix fullscreen (bgo#734572)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrés G. Aragoneses <knocte@gmail.com>
  • Loading branch information
sundermann authored and knocte committed Aug 10, 2014
1 parent bacb259 commit adbcdb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ private void OnSyncMessage (object o, SyncMessageArgs args)

if (found_xoverlay) {
xoverlay.WindowHandle = video_window_xid.Value;
xoverlay.HandleEvents (true);
}
}

Expand Down Expand Up @@ -149,6 +150,7 @@ internal bool MaybePrepareOverlay ()
}

xoverlay.WindowHandle = video_window_xid.Value;
xoverlay.HandleEvents (true);
return true;
}

Expand Down

0 comments on commit adbcdb3

Please sign in to comment.