diff options
Diffstat (limited to 'omx/gstomxvideoenc.c')
-rw-r--r-- | omx/gstomxvideoenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index 3bdc41a..6a027b8 100644 --- a/omx/gstomxvideoenc.c +++ b/omx/gstomxvideoenc.c @@ -1064,6 +1064,7 @@ gst_omx_video_enc_set_format (GstVideoEncoder * encoder, ((port_def.format.video.nFrameHeight + 1) / 2)); break; + case OMX_COLOR_FormatYUV420PackedSemiPlanar: case OMX_COLOR_FormatYUV420SemiPlanar: port_def.nBufferSize = (port_def.format.video.nStride * port_def.format.video.nFrameHeight) + @@ -1072,6 +1073,8 @@ gst_omx_video_enc_set_format (GstVideoEncoder * encoder, break; default: + GST_ERROR_OBJECT (self, "Unsupported port format %x", + port_def.format.video.eColorFormat); g_assert_not_reached (); } |