From: Víctor Manuel Jáquez Leal Date: Sun, 18 Jul 2021 15:13:16 +0000 (+0200) Subject: vapostproc: Don't add video alignment option in buffer pool. X-Git-Tag: 1.19.3~507^2~151 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f42e8064805b9f2c8030878c077866b7efa52e7b;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/sys/va/gstvavpp.c b/sys/va/gstvavpp.c index 70642c5..94e5ae9 100644 --- a/sys/va/gstvavpp.c +++ b/sys/va/gstvavpp.c @@ -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);