summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-02-06 10:12:50 +0530
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-02-27 04:05:48 +0000
commit3c45c8ecbebfa284ef6706c28acbceef24b564d0 (patch)
tree4771ec7bfd75bdde03118f4c8983e5f16970e851
parente616094a53b4fc1da7fce3ea5dfd319ed80cf516 (diff)
downloadgst-omx-3c45c8ecbebfa284ef6706c28acbceef24b564d0.tar.gz
omx: add alternate flags to buffer_flags_map
Zynq specific flags used to tag top/bottom fields in alternate mode.
-rw-r--r--omx/gstomx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index b9231b2..0e821bc 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -3716,6 +3716,10 @@ struct BufferFlagString buffer_flags_map[] = {
#ifdef OMX_BUFFERFLAG_SKIPFRAME
{OMX_BUFFERFLAG_SKIPFRAME, "skip-frame"},
#endif
+#ifdef USE_OMX_TARGET_ZYNQ_USCALE_PLUS
+ {OMX_ALG_BUFFERFLAG_TOP_FIELD, "top-field"},
+ {OMX_ALG_BUFFERFLAG_BOT_FIELD, "bottom-field"},
+#endif
{0, NULL},
};