diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-01-04 10:11:38 +0100 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@ocrete.ca> | 2019-01-25 23:48:11 +0000 |
commit | 9ff4dc533fb9c4023f35cf7baa2d26446b747391 (patch) | |
tree | 87419fc479e878f692287ad60048f703a547a1b5 /omx/gstomxvideo.c | |
parent | 09bc1d630f3e0e1b7c7bf7aa1fb8384f2f6aef61 (diff) | |
download | gst-omx-9ff4dc533fb9c4023f35cf7baa2d26446b747391.tar.gz |
omxvideo: use GST_VIDEO_CAPS_MAKE() for template caps
Simplify the code and so we advertise the formats actually supported by
gst-omx.
Diffstat (limited to 'omx/gstomxvideo.c')
-rw-r--r-- | omx/gstomxvideo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/omx/gstomxvideo.c b/omx/gstomxvideo.c index 44d919a..9feda19 100644 --- a/omx/gstomxvideo.c +++ b/omx/gstomxvideo.c @@ -33,6 +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 */ GstVideoFormat gst_omx_video_get_format_from_omx (OMX_COLOR_FORMATTYPE omx_colorformat) { |