vapostproc: Don't add video alignment option in buffer pool.

vapostproc will not call gst_buffer_pool_config_set_video_alignment(),
thus this option is not required.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2431>
This commit is contained in:
Víctor Manuel Jáquez Leal 2021-07-18 17:13:16 +02:00 committed by GStreamer Marge Bot
parent 837d880e2f
commit f42e806480

View file

@ -509,8 +509,6 @@ _create_sinkpad_bufferpool (GstCaps * caps, guint size, guint min_buffers,
gst_buffer_pool_config_set_va_allocation_params (config, usage_hint); 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_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_META);
gst_buffer_pool_config_add_option (config,
GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT);
if (!gst_buffer_pool_set_config (pool, config)) if (!gst_buffer_pool_set_config (pool, config))
gst_clear_object (&pool); gst_clear_object (&pool);