Added TI patches, generated from commit 04f9d72 of the following tree:
[ubuntu-omap:gst-plugins-bad1-0.git] / debian / patches / 0010-10-30-dri2ideosink-fix-caps-equality-check.patch
1 From bbd5ebdb906efb7d69b3ee9db70da7d4f73a7ec7 Mon Sep 17 00:00:00 2001
2 From: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
3 Date: Wed, 27 Jun 2012 16:23:07 +0000
4 Subject: [PATCH 010/100] [10/30] dri2ideosink: fix caps equality check
5
6 gst_drm_buffer_pool_check_caps returns FALSE when the caps are not equal.
7 ---
8  sys/dri2/gstdri2util.c |    2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/sys/dri2/gstdri2util.c b/sys/dri2/gstdri2util.c
12 index a9468a7..2ad9808 100644
13 --- a/sys/dri2/gstdri2util.c
14 +++ b/sys/dri2/gstdri2util.c
15 @@ -463,7 +463,7 @@ gst_dri2window_check_caps (GstDRI2Window * xwindow, GstCaps * caps)
16  {
17    g_mutex_lock (xwindow->pool_lock);
18    if (xwindow->buffer_pool) {
19 -    if (gst_drm_buffer_pool_check_caps (xwindow->buffer_pool, caps)) {
20 +    if (!gst_drm_buffer_pool_check_caps (xwindow->buffer_pool, caps)) {
21        GST_INFO_OBJECT (xwindow->dcontext->elem, "caps change");
22        gst_drm_buffer_pool_destroy (xwindow->buffer_pool);
23        xwindow->buffer_pool = NULL;
24 -- 
25 1.7.9.5
26