diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-02-02 18:05:46 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-02-05 18:54:25 +0100 |
commit | bcbe620006b4b27dcea468fe3b5dff4c2827a8c8 (patch) | |
tree | 778e40d43e2af49f8b1d1f7c459b4a88986e1c44 /sys | |
parent | f7aafa74ab88568a6f28a2919b0b9d81101a8731 (diff) | |
download | gstreamer-plugins-bad-bcbe620006b4b27dcea468fe3b5dff4c2827a8c8.tar.gz |
va: vpp: request video and alignment metas for src pool
This is for the pool used when importing raw video frames to surfaces.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2007>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/va/gstvavpp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/va/gstvavpp.c b/sys/va/gstvavpp.c index c5487935f..1e71a1942 100644 --- a/sys/va/gstvavpp.c +++ b/sys/va/gstvavpp.c @@ -425,6 +425,9 @@ _create_sinkpad_bufferpool (GstCaps * caps, guint size, guint min_buffers, max_buffers); gst_buffer_pool_config_set_va_allocation_params (config, usage_hint); gst_buffer_pool_config_set_allocator (config, allocator, alloc_params); + gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META); + gst_buffer_pool_config_add_option (config, + GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT); if (!gst_buffer_pool_set_config (pool, config)) gst_clear_object (&pool); |