pluginutil: const params to gst_video_info_changed()

Since they are not modified, we should mark them as const.
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-07-19 20:01:05 +02:00
parent 892b6d3822
commit 0541ef4510
2 changed files with 2 additions and 2 deletions

View file

@ -691,7 +691,7 @@ gst_video_info_change_format (GstVideoInfo * vip, GstVideoFormat format,
* @new. Otherwise, %FALSE. * @new. Otherwise, %FALSE.
**/ **/
gboolean 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)) if (GST_VIDEO_INFO_FORMAT (old) != GST_VIDEO_INFO_FORMAT (new))
return TRUE; return TRUE;

View file

@ -125,7 +125,7 @@ gst_video_info_change_format (GstVideoInfo * vip, GstVideoFormat format,
G_GNUC_INTERNAL G_GNUC_INTERNAL
gboolean gboolean
gst_video_info_changed (GstVideoInfo * old, GstVideoInfo * new); gst_video_info_changed (const GstVideoInfo * old, const GstVideoInfo * new);
G_GNUC_INTERNAL G_GNUC_INTERNAL
void void