Commit f2570512 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐 Committed by Nicolas Dufresne

omxvideoenc: display the computed buffer size when configuring input
parent 69215681
......@@ -1793,12 +1793,6 @@ gst_omx_video_enc_configure_input_buffer (GstOMXVideoEnc * self,
else = slice_height;
"setting input nStride=%d and nSliceHeight=%d (nBufferAlignment=%d)",
(guint) port_def.nBufferAlignment);
switch ( {
case OMX_COLOR_FormatYUV420Planar:
case OMX_COLOR_FormatYUV420PackedPlanar:
......@@ -1822,6 +1816,12 @@ gst_omx_video_enc_configure_input_buffer (GstOMXVideoEnc * self,
g_assert_not_reached ();
"setting input nStride=%d nSliceHeight=%d nBufferSize=%d (nBufferAlignment=%d)",
(guint) port_def.nBufferSize, (guint) port_def.nBufferAlignment);
if (gst_omx_port_update_port_definition (self->enc_in_port,
&port_def) != OMX_ErrorNone)
return FALSE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment