diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-04-10 11:47:03 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-04-10 11:53:23 +0200 |
commit | d3c2a7c8d1bb94a4bf6fa745ef93d2ca9f59f7d0 (patch) | |
tree | 968a2bb8255856165b93cc5a74bba285ba66bf01 /omx/gstomxvideodec.c | |
parent | 8530407ebe1135b0f01d970e7e830219b2666ff3 (diff) | |
download | gst-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/gstomxvideodec.c')
-rw-r--r-- | omx/gstomxvideodec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index ac2c7a8..9e172a4 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -191,10 +191,10 @@ gst_omx_video_dec_class_init (GstOMXVideoDecClass * klass) #endif #ifdef USE_OMX_TARGET_ZYNQ_USCALE_PLUS GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_FORMAT_INTERLACED, - GST_OMX_VIDEO_SUPPORTED_FORMATS) + GST_OMX_VIDEO_DEC_SUPPORTED_FORMATS) ", interlace-mode = (string) alternate ; " #endif - GST_VIDEO_CAPS_MAKE (GST_OMX_VIDEO_SUPPORTED_FORMATS); + GST_VIDEO_CAPS_MAKE (GST_OMX_VIDEO_DEC_SUPPORTED_FORMATS); } static void |