pluginutil: const params to gst_video_info_changed()
Since they are not modified, we should mark them as const.
This commit is contained in:
parent
892b6d3822
commit
0541ef4510
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user