mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
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.
This commit is contained in:
parent
e8a4500d75
commit
611f37c2ae
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue