summaryrefslogtreecommitdiff
path: root/sys/v4l2/v4l2_calls.c
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2010-04-04 06:43:41 -0500
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-05-24 10:47:26 +0200
commit9c9585116cf49d2a2a1e13c12a17e2a09a729526 (patch)
tree56a10484fbc7e2ee892bb692ae18880add65f984 /sys/v4l2/v4l2_calls.c
parentb316e2346cf31e6122e1244995fd0875580c7ae1 (diff)
v4l2: add norm property
Based on a patch by Guennadi Liakhovetski. v2: updates because I forgot to add GstTuner interface to v4l2sink v3: update to add all possible values to norm enum
Diffstat (limited to 'sys/v4l2/v4l2_calls.c')
-rw-r--r--sys/v4l2/v4l2_calls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
index e9d306999..3808d8e62 100644
--- a/sys/v4l2/v4l2_calls.c
+++ b/sys/v4l2/v4l2_calls.c
@@ -229,6 +229,9 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
standard.frameperiod.denominator, standard.frameperiod.numerator);
v4l2norm->index = standard.id;
+ GST_DEBUG_OBJECT (v4l2object->element, "index=%08x, label=%s",
+ (unsigned int) v4l2norm->index, norm->label);
+
v4l2object->norms = g_list_prepend (v4l2object->norms, (gpointer) norm);
}
v4l2object->norms = g_list_reverse (v4l2object->norms);