mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue