diff options
-rw-r--r-- | gst-libs/gst/video/gstvideopool.c | 1 | ||||
-rw-r--r-- | sys/ximage/ximagepool.c | 2 | ||||
-rw-r--r-- | sys/xvimage/xvimagepool.c | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/gst-libs/gst/video/gstvideopool.c b/gst-libs/gst/video/gstvideopool.c index abc6ba54e9..71bd562ddd 100644 --- a/gst-libs/gst/video/gstvideopool.c +++ b/gst-libs/gst/video/gstvideopool.c @@ -169,6 +169,7 @@ video_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) /* get an apply the alignment to the info */ gst_buffer_pool_config_get_video_alignment (config, &priv->video_align); gst_video_info_align (&info, &priv->video_align); + gst_buffer_pool_config_set_video_alignment (config, &priv->video_align); } priv->info = info; 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 { diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c index 614f197508..a113f2f09b 100644 --- a/sys/xvimage/xvimagepool.c +++ b/sys/xvimage/xvimagepool.c @@ -106,6 +106,8 @@ xvimage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) /* do padding and alignment */ gst_video_info_align (&info, &xvpool->align); + gst_buffer_pool_config_set_video_alignment (config, &xvpool->align); + /* we need the video metadata too now */ xvpool->add_metavideo = TRUE; } else { |