summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapisurfaceproxy.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2012-06-29 15:19:51 +0900
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-07-19 15:19:17 +0200
commitdba174906a856f47cf86c8594f56780b6550b6ce (patch)
tree5b5032db81d995bf19732a8857671030ff0ef456 /gst-libs/gst/vaapi/gstvaapisurfaceproxy.h
parent30024b3f8e2de95c0ba31fc4989f45249bd9d070 (diff)
libs: declare _get_type() functions as const.
Declaring a function as const enables better optimization of calls to the function. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapisurfaceproxy.h')
-rw-r--r--gst-libs/gst/vaapi/gstvaapisurfaceproxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapisurfaceproxy.h b/gst-libs/gst/vaapi/gstvaapisurfaceproxy.h
index b32458c7..35e38f7c 100644
--- a/gst-libs/gst/vaapi/gstvaapisurfaceproxy.h
+++ b/gst-libs/gst/vaapi/gstvaapisurfaceproxy.h
@@ -117,7 +117,7 @@ struct _GstVaapiSurfaceProxyClass {
};
GType
-gst_vaapi_surface_proxy_get_type(void);
+gst_vaapi_surface_proxy_get_type(void) G_GNUC_CONST;
GstVaapiSurfaceProxy *
gst_vaapi_surface_proxy_new(GstVaapiContext *context, GstVaapiSurface *surface);