From 0541ef451080206782dab8b2949f7127c4b9d254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 19 Jul 2016 20:01:05 +0200 Subject: [PATCH] pluginutil: const params to gst_video_info_changed() Since they are not modified, we should mark them as const. --- gst/vaapi/gstvaapipluginutil.c | 2 +- gst/vaapi/gstvaapipluginutil.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/vaapi/gstvaapipluginutil.c b/gst/vaapi/gstvaapipluginutil.c index 38172ae7d3..4e3d7a3947 100644 --- a/gst/vaapi/gstvaapipluginutil.c +++ b/gst/vaapi/gstvaapipluginutil.c @@ -691,7 +691,7 @@ gst_video_info_change_format (GstVideoInfo * vip, GstVideoFormat format, * @new. Otherwise, %FALSE. **/ gboolean -gst_video_info_changed (GstVideoInfo * old, GstVideoInfo * new) +gst_video_info_changed (const GstVideoInfo * old, const GstVideoInfo * new) { if (GST_VIDEO_INFO_FORMAT (old) != GST_VIDEO_INFO_FORMAT (new)) return TRUE; diff --git a/gst/vaapi/gstvaapipluginutil.h b/gst/vaapi/gstvaapipluginutil.h index 7b0710a058..34aea9cd1e 100644 --- a/gst/vaapi/gstvaapipluginutil.h +++ b/gst/vaapi/gstvaapipluginutil.h @@ -125,7 +125,7 @@ gst_video_info_change_format (GstVideoInfo * vip, GstVideoFormat format, G_GNUC_INTERNAL gboolean -gst_video_info_changed (GstVideoInfo * old, GstVideoInfo * new); +gst_video_info_changed (const GstVideoInfo * old, const GstVideoInfo * new); G_GNUC_INTERNAL void