mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
omxvideoenc: Fix compiler warning
gstomxvideoenc.c: In function ‘gst_omx_video_enc_fill_buffer’: CC libgstomx_la-gstomxaacdec.lo gstomxvideoenc.c:1316:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘OMX_U32 {aka long unsigned int}’ [-Wformat=] GST_LOG_OBJECT (self, "Matched strides - direct copy %u bytes", ^ outbuf->omx_buf->nFilledLen); ~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
8fd5d04fef
commit
812e24b06f
1 changed files with 1 additions and 1 deletions
|
@ -1314,7 +1314,7 @@ gst_omx_video_enc_fill_buffer (GstOMXVideoEnc * self, GstBuffer * inbuf,
|
|||
outbuf->omx_buf->nFilledLen = gst_buffer_get_size (inbuf);
|
||||
|
||||
GST_LOG_OBJECT (self, "Matched strides - direct copy %u bytes",
|
||||
outbuf->omx_buf->nFilledLen);
|
||||
(guint) outbuf->omx_buf->nFilledLen);
|
||||
|
||||
gst_buffer_extract (inbuf, 0,
|
||||
outbuf->omx_buf->pBuffer + outbuf->omx_buf->nOffset,
|
||||
|
|
Loading…
Reference in a new issue