summaryrefslogtreecommitdiff
path: root/omx/gstomx_base_videodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'omx/gstomx_base_videodec.c')
-rw-r--r--omx/gstomx_base_videodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/omx/gstomx_base_videodec.c b/omx/gstomx_base_videodec.c
index 9148dec..9a20ba4 100644
--- a/omx/gstomx_base_videodec.c
+++ b/omx/gstomx_base_videodec.c
@@ -61,6 +61,7 @@ settings_changed_cb (GOmxCore * core)
width = param.format.video.nFrameWidth;
height = param.format.video.nFrameHeight;
switch (param.format.video.eColorFormat) {
+ case OMX_COLOR_FormatYUV420Planar:
case OMX_COLOR_FormatYUV420PackedPlanar:
format = GST_MAKE_FOURCC ('I', '4', '2', '0');
break;