diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-05-30 11:11:34 +0530 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-11-02 14:56:53 +0100 |
commit | 611f37c2ae88420a751c62b1a67c15362feb94cc (patch) | |
tree | a36e91f06ad467e6df2f2b3c1c678c591bd3d090 /omx/gstomxvideoenc.c | |
parent | e8a4500d758ee46ebdf7713fad33608e36f83345 (diff) | |
download | gst-omx-611f37c2ae88420a751c62b1a67c15362feb94cc.tar.gz |
omxvideoenc: fix buffer size in debug log
Use the actual OMX buffer size rather than the info.size as OMX
may require larger buffer if the port requires some padding.
Diffstat (limited to 'omx/gstomxvideoenc.c')
-rw-r--r-- | omx/gstomxvideoenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index f266596..de8a902 100644 --- a/omx/gstomxvideoenc.c +++ b/omx/gstomxvideoenc.c @@ -3193,8 +3193,8 @@ gst_omx_video_enc_propose_allocation (GstVideoEncoder * encoder, #endif GST_DEBUG_OBJECT (self, - "request at least %d buffers of size %" G_GSIZE_FORMAT, num_buffers, - info.size); + "request at least %d buffers of size %d", num_buffers, + (guint) self->enc_in_port->port_def.nBufferSize); gst_query_add_allocation_pool (query, pool, self->enc_in_port->port_def.nBufferSize, num_buffers, 0); |