diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-04-18 22:07:28 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-04-18 23:10:13 +0100 |
commit | 2cbbab3128f300afc87c3a98b405b594fb09700d (patch) | |
tree | 0314b9517501cb88179f8956faa998644f2eed57 /omx/gstomxh264enc.c | |
parent | 82807bd9dd1d0a5d070b87f7ca889804081c737e (diff) | |
download | gst-omx-2cbbab3128f300afc87c3a98b405b594fb09700d.tar.gz |
omx: more printf format fixes
Fix printf formats again, so that gst-omx compiles warning-
free on the Raspberry Pi as well. Unfortunately OMX_UINT32
maybe be typedefed to uint32_t or unsigned long, which
doesn't work well with our debugging printf format strings,
so just use %u for those and cast to guint.
Diffstat (limited to 'omx/gstomxh264enc.c')
-rw-r--r-- | omx/gstomxh264enc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/omx/gstomxh264enc.c b/omx/gstomxh264enc.c index 04fff0a..109e173 100644 --- a/omx/gstomxh264enc.c +++ b/omx/gstomxh264enc.c @@ -192,8 +192,9 @@ gst_omx_h264_enc_set_format (GstOMXVideoEnc * enc, GstOMXPort * port, "Setting profile/level not supported by component"); } else if (err != OMX_ErrorNone) { GST_ERROR_OBJECT (self, - "Error setting profile %lu and level %lu: %s (0x%08x)", param.eProfile, - param.eLevel, gst_omx_error_to_string (err), err); + "Error setting profile %u and level %u: %s (0x%08x)", + (guint) param.eProfile, (guint) param.eLevel, + gst_omx_error_to_string (err), err); return FALSE; } |