From: Peter Seiderer Date: Wed, 9 May 2012 10:54:11 +0000 (+0200) Subject: v4l2src: fix v4l2_std_id logging X-Git-Tag: 1.19.3~509^2~7057 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65a28698db98d3d0596164eb1452b910d20289be;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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);