summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapidecode.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2012-06-29 08:45:47 +0900
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-07-19 15:19:17 +0200
commitba3ae6061333d63fe3454d7e9d4e92e493cbb237 (patch)
tree35e2313809f218346a39ff3ef5100305e81fb269 /gst/vaapi/gstvaapidecode.h
parent5ff0837b32173ab7981c254bc25889e913a5b837 (diff)
plugins: 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/vaapi/gstvaapidecode.h')
-rw-r--r--gst/vaapi/gstvaapidecode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapidecode.h b/gst/vaapi/gstvaapidecode.h
index 6a5792df..60b25155 100644
--- a/gst/vaapi/gstvaapidecode.h
+++ b/gst/vaapi/gstvaapidecode.h
@@ -82,7 +82,7 @@ struct _GstVaapiDecodeClass {
};
GType
-gst_vaapidecode_get_type(void);
+gst_vaapidecode_get_type(void) G_GNUC_CONST;
G_END_DECLS