From 65a28698db98d3d0596164eb1452b910d20289be Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Wed, 9 May 2012 12:54:11 +0200 Subject: [PATCH] v4l2src: fix v4l2_std_id logging 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index 62c03ee..ace78df 100644 --- 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: %016x", (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); -- 2.7.4