mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-21 17:21:13 +00:00
video: pool: Make structure const when getting video alignment
Downgrade to const, this is backward compatible make makes the API compatible wit more usages. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7201>
This commit is contained in:
parent
45806c4d66
commit
be95be4b31
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue