vapostproc: Don't add video alignment option in buffer pool.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 18 Jul 2021 15:13:16 +0000 (17:13 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 27 Jul 2021 09:13:39 +0000 (09:13 +0000)
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>

sys/va/gstvavpp.c

index 70642c5..94e5ae9 100644 (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_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);