Added TI patches, generated from commit 04f9d72 of the following tree:
[ubuntu-omap:gst-plugins-bad1-0.git] / debian / patches / 0030-30-30-dri2videosink-call-_got_window_handle-when-cre.patch
1 From 5725beeb043674932530d6a714e200d77a2338f3 Mon Sep 17 00:00:00 2001
2 From: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
3 Date: Mon, 22 Oct 2012 11:11:20 +0100
4 Subject: [PATCH 030/100] [30/30] dri2videosink: call _got_window_handle when
5  creating a window
6
7 The X overlay interface semantics call for this.
8 ---
9  sys/dri2/gstdri2util.c |    4 ++++
10  1 file changed, 4 insertions(+)
11
12 diff --git a/sys/dri2/gstdri2util.c b/sys/dri2/gstdri2util.c
13 index f6fd7f0..0cd8022 100644
14 --- a/sys/dri2/gstdri2util.c
15 +++ b/sys/dri2/gstdri2util.c
16 @@ -28,6 +28,7 @@
17  #include <ctype.h>
18  
19  #include <gst/video/video-crop.h>
20 +#include <gst/interfaces/xoverlay.h>
21  
22  #include "gstdri2util.h"
23  #include "gstdri2bufferpool.h"
24 @@ -348,6 +349,9 @@ gst_dri2window_new_from_handle (GstDRI2Context * dcontext, XID xwindow_id)
25    free (get_buffer (xwindow, DRI2BufferFrontLeft,
26            xwindow->width, xwindow->height, 32));
27  
28 +  gst_x_overlay_got_window_handle (GST_X_OVERLAY (dcontext->elem),
29 +      xwindow->window);
30 +
31    return xwindow;
32  }
33  
34 -- 
35 1.7.9.5
36