summaryrefslogtreecommitdiff
path: root/sys/ximage/ximagepool.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ximage/ximagepool.c')
-rw-r--r--sys/ximage/ximagepool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c
index 3582f115ed..6a0d123616 100644
--- a/sys/ximage/ximagepool.c
+++ b/sys/ximage/ximagepool.c
@@ -582,6 +582,8 @@ ximage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
/* do padding and alignment */
gst_video_info_align (&info, &xpool->align);
+ gst_buffer_pool_config_set_video_alignment (config, &xpool->align);
+
/* we need the video metadata too now */
xpool->add_metavideo = TRUE;
} else {