Added TI patches, generated from commit 04f9d72 of the following tree:
[ubuntu-omap:gst-plugins-bad1-0.git] / debian / patches / 0065-PATCH-05-33-kmssink-use-dce_deinit-to-close-dev-fd.patch
1 From d0237ddd5fad004017449bc690a9e85836181c59 Mon Sep 17 00:00:00 2001
2 From: Alessandro Decina <alessandro.decina@collabora.co.uk>
3 Date: Wed, 16 May 2012 12:06:16 +0000
4 Subject: [PATCH 065/100] [PATCH 05/33] kmssink: use dce_deinit to close
5  dev/fd
6
7 ...temporary hack until we still depend on dce
8 ---
9  sys/kms/gstkmssink.c |    5 +++++
10  1 file changed, 5 insertions(+)
11
12 diff --git a/sys/kms/gstkmssink.c b/sys/kms/gstkmssink.c
13 index 6cbff69..fced42d 100644
14 --- a/sys/kms/gstkmssink.c
15 +++ b/sys/kms/gstkmssink.c
16 @@ -407,12 +407,17 @@ gst_kms_sink_reset (GstKMSSink * sink)
17    }
18  
19    if (sink->dev) {
20 +#if 0
21      omap_device_del (sink->dev);
22 +#endif
23 +    dce_deinit (sink->dev);
24      sink->dev = NULL;
25    }
26  
27    if (sink->fd != -1) {
28 +#if 0
29      close (sink->fd);
30 +#endif
31      sink->fd = -1;
32    }
33  
34 -- 
35 1.7.9.5
36