diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideopool.c b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideopool.c index fd4198d79f..9840b4d2be 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideopool.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideopool.c @@ -77,7 +77,7 @@ gst_buffer_pool_config_set_video_alignment (GstStructure * config, * Returns: %TRUE if @config could be parsed correctly. */ gboolean -gst_buffer_pool_config_get_video_alignment (GstStructure * config, +gst_buffer_pool_config_get_video_alignment (const GstStructure * config, GstVideoAlignment * align) { g_return_val_if_fail (config != NULL, FALSE); diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideopool.h b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideopool.h index 6fd0db1bcd..e5ca7cf799 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideopool.h +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideopool.h @@ -51,7 +51,7 @@ GST_VIDEO_API void gst_buffer_pool_config_set_video_alignment (GstStructure *config, const GstVideoAlignment *align); GST_VIDEO_API -gboolean gst_buffer_pool_config_get_video_alignment (GstStructure *config, GstVideoAlignment *align); +gboolean gst_buffer_pool_config_get_video_alignment (const GstStructure *config, GstVideoAlignment *align); /* video bufferpool */ typedef struct _GstVideoBufferPool GstVideoBufferPool;