projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338286c
)
v4l2src: fix v4l2_std_id logging
author
Peter Seiderer
<ps.report@gmx.net>
Wed, 9 May 2012 10:54:11 +0000
(12:54 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Wed, 9 May 2012 14:12:28 +0000
(15:12 +0100)
input.std is of type v4l2_std_id which is defined as 64-bit unsigned integer.
Casting to uint means the higher bits, wich are used for the private video
standards of the TI video capture/display driver for example, are lost.
sys/v4l2/v4l2_calls.c
patch
|
blob
|
history
diff --git
a/sys/v4l2/v4l2_calls.c
b/sys/v4l2/v4l2_calls.c
index
62c03ee
..
ace78df
100644
(file)
--- a/
sys/v4l2/v4l2_calls.c
+++ b/
sys/v4l2/v4l2_calls.c
@@
-145,7
+145,7
@@
gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
GST_LOG_OBJECT (e, " name: '%s'", input.name);
GST_LOG_OBJECT (e, " type: %08x", input.type);
GST_LOG_OBJECT (e, " audioset: %08x", input.audioset);
- GST_LOG_OBJECT (e, " std: %016
x", (guint)
input.std);
+ GST_LOG_OBJECT (e, " std: %016
" G_GINT64_MODIFIER "x",
input.std);
GST_LOG_OBJECT (e, " status: %08x", input.status);
v4l2channel = g_object_new (GST_TYPE_V4L2_TUNER_CHANNEL, NULL);