summaryrefslogtreecommitdiff
path: root/omx/gstomxvideo.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-04-10 11:47:03 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-04-10 11:53:23 +0200
commitd3c2a7c8d1bb94a4bf6fa745ef93d2ca9f59f7d0 (patch)
tree968a2bb8255856165b93cc5a74bba285ba66bf01 /omx/gstomxvideo.c
parent8530407ebe1135b0f01d970e7e830219b2666ff3 (diff)
downloadgst-omx-d3c2a7c8d1bb94a4bf6fa745ef93d2ca9f59f7d0.tar.gz
omxvideoenc: remove unsupported formats from caps template
Our encoder implementation actually supports a small subset of the formats supported by the decoder. Those are the formats for which we have a copy path in gst_omx_video_enc_fill_buffer() and which are not filtered out in filter_supported_formats().
Diffstat (limited to 'omx/gstomxvideo.c')
-rw-r--r--omx/gstomxvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomxvideo.c b/omx/gstomxvideo.c
index a761e70..e08ff4c 100644
--- a/omx/gstomxvideo.c
+++ b/omx/gstomxvideo.c
@@ -33,7 +33,7 @@
GST_DEBUG_CATEGORY (gst_omx_video_debug_category);
#define GST_CAT_DEFAULT gst_omx_video_debug_category
-/* Keep synced with GST_OMX_VIDEO_SUPPORTED_FORMATS */
+/* Keep synced with GST_OMX_VIDEO_DEC_SUPPORTED_FORMATS */
GstVideoFormat
gst_omx_video_get_format_from_omx (OMX_COLOR_FORMATTYPE omx_colorformat)
{