1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
$NetBSD: patch-sys_v4l2_gstv4l2object.c,v 1.1 2012/03/06 04:42:51 obache Exp $
* take care some video standard macros added by V4L2 in Linux 2.6.17
(not in NetBSD)
--- sys/v4l2/gstv4l2object.c.orig 2011-12-30 13:59:13.000000000 +0000
+++ sys/v4l2/gstv4l2object.c
@@ -331,8 +331,12 @@ gst_v4l2_tv_norm_get_type (void)
{V4L2_STD_NTSC, "NTSC", "NTSC"},
{V4L2_STD_NTSC_M, "NTSC-M", "NTSC-M"},
{V4L2_STD_NTSC_M_JP, "NTSC-M-JP", "NTSC-M-JP"},
+#ifdef V4L2_STD_NTSC_M_KR
{V4L2_STD_NTSC_M_KR, "NTSC-M-KR", "NTSC-M-KR"},
+#endif
+#ifdef V4L2_STD_NTSC_443
{V4L2_STD_NTSC_443, "NTSC-443", "NTSC-443"},
+#endif
{V4L2_STD_PAL, "PAL", "PAL"},
{V4L2_STD_PAL_BG, "PAL-BG", "PAL-BG"},
@@ -354,12 +358,16 @@ gst_v4l2_tv_norm_get_type (void)
{V4L2_STD_SECAM_B, "SECAM-B", "SECAM-B"},
{V4L2_STD_SECAM_G, "SECAM-G", "SECAM-G"},
{V4L2_STD_SECAM_H, "SECAM-H", "SECAM-H"},
+#ifdef V4L2_STD_SECAM_DK
{V4L2_STD_SECAM_DK, "SECAM-DK", "SECAM-DK"},
+#endif
{V4L2_STD_SECAM_D, "SECAM-D", "SECAM-D"},
{V4L2_STD_SECAM_K, "SECAM-K", "SECAM-K"},
{V4L2_STD_SECAM_K1, "SECAM-K1", "SECAM-K1"},
{V4L2_STD_SECAM_L, "SECAM-L", "SECAM-L"},
+#ifdef V4L2_STD_SECAM_LC
{V4L2_STD_SECAM_LC, "SECAM-Lc", "SECAM-Lc"},
+#endif
{0, NULL, NULL}
};
|