summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch')
-rw-r--r--recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch b/recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch
new file mode 100644
index 0000000..e06a250
--- /dev/null
+++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch
@@ -0,0 +1,40 @@
1From 28ad25933dc51d8af13927a9943a353677c31a3a Mon Sep 17 00:00:00 2001
2From: Lyon Wang <lyon.wang@freescale.com>
3Date: Tue, 22 Oct 2013 16:15:43 +0800
4Subject: [PATCH] remove GST_INFO in mfw_gst_utils.h
5
6GST_INFO() should not be used in the global header
7or it will cause some macro definiation error.
8
9so comment the GST_INFO() in the mfw_gst_utils.h
10
11Upstream-Status: Backport [GIT]
12---
13 inc/plugin/mfw_gst_utils.h | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/inc/plugin/mfw_gst_utils.h b/inc/plugin/mfw_gst_utils.h
17index 366d50e..c1b6f90 100755
18--- a/inc/plugin/mfw_gst_utils.h
19+++ b/inc/plugin/mfw_gst_utils.h
20@@ -876,7 +876,7 @@ getChipCodeFromSocid (void)
21 }
22 fclose(fp);
23
24- GST_INFO("SOC is %s\n", soc_name);
25+ //GST_INFO("SOC is %s\n", soc_name);
26
27 int num = sizeof(soc_info) / sizeof(SOC_INFO);
28 int i;
29@@ -913,7 +913,7 @@ getChipCode (void)
30 }
31
32 kv = ((kv_major << 16) + (kv_minor << 8) + kv_rel);
33- GST_INFO("kernel:%s, %d.%d.%d\n", sys_name.release, kv_major, kv_minor, kv_rel);
34+ //GST_INFO("kernel:%s, %d.%d.%d\n", sys_name.release, kv_major, kv_minor, kv_rel);
35
36 if (kv < KERN_VER(3, 10, 0))
37 return getChipCodeFromCpuinfo();
38--
391.7.9.5
40