diff options
author | Rob Clark <rob@ti.com> | 2010-04-04 06:43:41 -0500 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-05-24 10:47:26 +0200 |
commit | 9c9585116cf49d2a2a1e13c12a17e2a09a729526 (patch) | |
tree | 56a10484fbc7e2ee892bb692ae18880add65f984 /sys/v4l2/v4l2_calls.c | |
parent | b316e2346cf31e6122e1244995fd0875580c7ae1 (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.c | 3 |
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); |