summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst-libs/gst/vaapi/gstvaapicontext.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_h264.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_vc1.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay_drm.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay_glx.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay_wayland.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay_x11.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiimage.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiimagepool.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiobject.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapisubpicture.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapisurface.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapisurfacepool.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapisurfaceproxy.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapitexture.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiutils_glx.c6
-rw-r--r--gst-libs/gst/vaapi/gstvaapivalue.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapivideobuffer.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapivideopool.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiwindow.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiwindow_drm.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiwindow_glx.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiwindow_wayland.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiwindow_x11.c2
31 files changed, 32 insertions, 34 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapicontext.c b/gst-libs/gst/vaapi/gstvaapicontext.c
index 52e81e40..5030a529 100644
--- a/gst-libs/gst/vaapi/gstvaapicontext.c
+++ b/gst-libs/gst/vaapi/gstvaapicontext.c
@@ -40,7 +40,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiContext, gst_vaapi_context, GST_VAAPI_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiContext, gst_vaapi_context, GST_VAAPI_TYPE_OBJECT)
#define GST_VAAPI_CONTEXT_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c
index 6892dd60..0865dba1 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder.c
@@ -35,7 +35,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiDecoder, gst_vaapi_decoder, G_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiDecoder, gst_vaapi_decoder, G_TYPE_OBJECT)
enum {
PROP_0,
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h264.c b/gst-libs/gst/vaapi/gstvaapidecoder_h264.c
index 89fef911..05bd927b 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_h264.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_h264.c
@@ -240,7 +240,7 @@ gst_vaapi_slice_h264_new(
G_DEFINE_TYPE(GstVaapiDecoderH264,
gst_vaapi_decoder_h264,
- GST_VAAPI_TYPE_DECODER);
+ GST_VAAPI_TYPE_DECODER)
#define GST_VAAPI_DECODER_H264_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c b/gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c
index 32003972..540b0e3e 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c
@@ -39,7 +39,7 @@
G_DEFINE_TYPE(GstVaapiDecoderJpeg,
gst_vaapi_decoder_jpeg,
- GST_VAAPI_TYPE_DECODER);
+ GST_VAAPI_TYPE_DECODER)
#define GST_VAAPI_DECODER_JPEG_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
index cabf379a..5e2c3929 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
@@ -40,7 +40,7 @@
G_DEFINE_TYPE(GstVaapiDecoderMpeg2,
gst_vaapi_decoder_mpeg2,
- GST_VAAPI_TYPE_DECODER);
+ GST_VAAPI_TYPE_DECODER)
#define GST_VAAPI_DECODER_MPEG2_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c
index acf9d0d1..af2945f7 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c
@@ -39,7 +39,7 @@
G_DEFINE_TYPE(GstVaapiDecoderMpeg4,
gst_vaapi_decoder_mpeg4,
- GST_VAAPI_TYPE_DECODER);
+ GST_VAAPI_TYPE_DECODER)
#define GST_VAAPI_DECODER_MPEG4_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_vc1.c b/gst-libs/gst/vaapi/gstvaapidecoder_vc1.c
index 63fbc730..7ee0594d 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_vc1.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_vc1.c
@@ -38,7 +38,7 @@
G_DEFINE_TYPE(GstVaapiDecoderVC1,
gst_vaapi_decoder_vc1,
- GST_VAAPI_TYPE_DECODER);
+ GST_VAAPI_TYPE_DECODER)
#define GST_VAAPI_DECODER_VC1_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay.c b/gst-libs/gst/vaapi/gstvaapidisplay.c
index 88766437..40ac5a65 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay.c
+++ b/gst-libs/gst/vaapi/gstvaapidisplay.c
@@ -38,7 +38,7 @@
GST_DEBUG_CATEGORY(gst_debug_vaapi);
-G_DEFINE_TYPE(GstVaapiDisplay, gst_vaapi_display, G_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiDisplay, gst_vaapi_display, G_TYPE_OBJECT)
typedef struct _GstVaapiConfig GstVaapiConfig;
struct _GstVaapiConfig {
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_drm.c b/gst-libs/gst/vaapi/gstvaapidisplay_drm.c
index 6a1d1482..8178c2c2 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay_drm.c
+++ b/gst-libs/gst/vaapi/gstvaapidisplay_drm.c
@@ -41,7 +41,7 @@
G_DEFINE_TYPE(GstVaapiDisplayDRM,
gst_vaapi_display_drm,
- GST_VAAPI_TYPE_DISPLAY);
+ GST_VAAPI_TYPE_DISPLAY)
enum {
PROP_0,
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_glx.c b/gst-libs/gst/vaapi/gstvaapidisplay_glx.c
index 87ac84a8..10077ee1 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay_glx.c
+++ b/gst-libs/gst/vaapi/gstvaapidisplay_glx.c
@@ -39,7 +39,7 @@
G_DEFINE_TYPE(GstVaapiDisplayGLX,
gst_vaapi_display_glx,
- GST_VAAPI_TYPE_DISPLAY_X11);
+ GST_VAAPI_TYPE_DISPLAY_X11)
static void
gst_vaapi_display_glx_finalize(GObject *object)
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_wayland.c b/gst-libs/gst/vaapi/gstvaapidisplay_wayland.c
index 6ebf9da7..1ebeb3d3 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay_wayland.c
+++ b/gst-libs/gst/vaapi/gstvaapidisplay_wayland.c
@@ -35,7 +35,7 @@
G_DEFINE_TYPE(GstVaapiDisplayWayland,
gst_vaapi_display_wayland,
- GST_VAAPI_TYPE_DISPLAY);
+ GST_VAAPI_TYPE_DISPLAY)
enum {
PROP_0,
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_x11.c b/gst-libs/gst/vaapi/gstvaapidisplay_x11.c
index f00b5af9..d632e487 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay_x11.c
+++ b/gst-libs/gst/vaapi/gstvaapidisplay_x11.c
@@ -41,7 +41,7 @@
G_DEFINE_TYPE(GstVaapiDisplayX11,
gst_vaapi_display_x11,
- GST_VAAPI_TYPE_DISPLAY);
+ GST_VAAPI_TYPE_DISPLAY)
enum {
PROP_0,
diff --git a/gst-libs/gst/vaapi/gstvaapiimage.c b/gst-libs/gst/vaapi/gstvaapiimage.c
index fb2b947c..0961234b 100644
--- a/gst-libs/gst/vaapi/gstvaapiimage.c
+++ b/gst-libs/gst/vaapi/gstvaapiimage.c
@@ -35,7 +35,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiImage, gst_vaapi_image, GST_VAAPI_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiImage, gst_vaapi_image, GST_VAAPI_TYPE_OBJECT)
#define GST_VAAPI_IMAGE_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapiimagepool.c b/gst-libs/gst/vaapi/gstvaapiimagepool.c
index 159cb308..26462d3b 100644
--- a/gst-libs/gst/vaapi/gstvaapiimagepool.c
+++ b/gst-libs/gst/vaapi/gstvaapiimagepool.c
@@ -33,7 +33,7 @@
G_DEFINE_TYPE(
GstVaapiImagePool,
gst_vaapi_image_pool,
- GST_VAAPI_TYPE_VIDEO_POOL);
+ GST_VAAPI_TYPE_VIDEO_POOL)
#define GST_VAAPI_IMAGE_POOL_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapiobject.c b/gst-libs/gst/vaapi/gstvaapiobject.c
index ad3d139b..7e7b1913 100644
--- a/gst-libs/gst/vaapi/gstvaapiobject.c
+++ b/gst-libs/gst/vaapi/gstvaapiobject.c
@@ -33,7 +33,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiObject, gst_vaapi_object, G_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiObject, gst_vaapi_object, G_TYPE_OBJECT)
enum {
PROP_0,
diff --git a/gst-libs/gst/vaapi/gstvaapisubpicture.c b/gst-libs/gst/vaapi/gstvaapisubpicture.c
index cfd7fd3a..a09f2463 100644
--- a/gst-libs/gst/vaapi/gstvaapisubpicture.c
+++ b/gst-libs/gst/vaapi/gstvaapisubpicture.c
@@ -35,7 +35,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiSubpicture, gst_vaapi_subpicture, GST_VAAPI_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiSubpicture, gst_vaapi_subpicture, GST_VAAPI_TYPE_OBJECT)
#define GST_VAAPI_SUBPICTURE_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapisurface.c b/gst-libs/gst/vaapi/gstvaapisurface.c
index b471de7d..745495d4 100644
--- a/gst-libs/gst/vaapi/gstvaapisurface.c
+++ b/gst-libs/gst/vaapi/gstvaapisurface.c
@@ -37,7 +37,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiSurface, gst_vaapi_surface, GST_VAAPI_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiSurface, gst_vaapi_surface, GST_VAAPI_TYPE_OBJECT)
#define GST_VAAPI_SURFACE_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapisurfacepool.c b/gst-libs/gst/vaapi/gstvaapisurfacepool.c
index b3e95380..528d6f4d 100644
--- a/gst-libs/gst/vaapi/gstvaapisurfacepool.c
+++ b/gst-libs/gst/vaapi/gstvaapisurfacepool.c
@@ -33,7 +33,7 @@
G_DEFINE_TYPE(
GstVaapiSurfacePool,
gst_vaapi_surface_pool,
- GST_VAAPI_TYPE_VIDEO_POOL);
+ GST_VAAPI_TYPE_VIDEO_POOL)
#define GST_VAAPI_SURFACE_POOL_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapisurfaceproxy.c b/gst-libs/gst/vaapi/gstvaapisurfaceproxy.c
index aa4103e0..1e3a5b70 100644
--- a/gst-libs/gst/vaapi/gstvaapisurfaceproxy.c
+++ b/gst-libs/gst/vaapi/gstvaapisurfaceproxy.c
@@ -32,7 +32,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiSurfaceProxy, gst_vaapi_surface_proxy, G_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiSurfaceProxy, gst_vaapi_surface_proxy, G_TYPE_OBJECT)
#define GST_VAAPI_SURFACE_PROXY_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapitexture.c b/gst-libs/gst/vaapi/gstvaapitexture.c
index 97025f26..1b38ef33 100644
--- a/gst-libs/gst/vaapi/gstvaapitexture.c
+++ b/gst-libs/gst/vaapi/gstvaapitexture.c
@@ -36,7 +36,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiTexture, gst_vaapi_texture, GST_VAAPI_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiTexture, gst_vaapi_texture, GST_VAAPI_TYPE_OBJECT)
#define GST_VAAPI_TEXTURE_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapiutils_glx.c b/gst-libs/gst/vaapi/gstvaapiutils_glx.c
index 38211813..4dbf834e 100644
--- a/gst-libs/gst/vaapi/gstvaapiutils_glx.c
+++ b/gst-libs/gst/vaapi/gstvaapiutils_glx.c
@@ -625,13 +625,11 @@ get_proc_address_func(void)
GLXGetProcAddressProc get_proc_func;
dlerror();
- get_proc_func = (GLXGetProcAddressProc)
- dlsym(RTLD_DEFAULT, "glXGetProcAddress");
+ *(void **)(&get_proc_func) = dlsym(RTLD_DEFAULT, "glXGetProcAddress");
if (!dlerror())
return get_proc_func;
- get_proc_func = (GLXGetProcAddressProc)
- dlsym(RTLD_DEFAULT, "glXGetProcAddressARB");
+ *(void **)(&get_proc_func) = dlsym(RTLD_DEFAULT, "glXGetProcAddressARB");
if (!dlerror())
return get_proc_func;
diff --git a/gst-libs/gst/vaapi/gstvaapivalue.c b/gst-libs/gst/vaapi/gstvaapivalue.c
index 19d95a71..401770e7 100644
--- a/gst-libs/gst/vaapi/gstvaapivalue.c
+++ b/gst-libs/gst/vaapi/gstvaapivalue.c
@@ -131,7 +131,7 @@ static const GTypeValueTable gst_vaapi_id_value_table = {
gst_vaapi_value_id_lcopy
};
-GST_VAAPI_TYPE_DEFINE(id, "GstVaapiID");
+GST_VAAPI_TYPE_DEFINE(id, "GstVaapiID")
/**
* gst_vaapi_value_get_id:
diff --git a/gst-libs/gst/vaapi/gstvaapivideobuffer.c b/gst-libs/gst/vaapi/gstvaapivideobuffer.c
index 18b58ef9..0a108535 100644
--- a/gst-libs/gst/vaapi/gstvaapivideobuffer.c
+++ b/gst-libs/gst/vaapi/gstvaapivideobuffer.c
@@ -35,7 +35,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiVideoBuffer, gst_vaapi_video_buffer, GST_TYPE_SURFACE_BUFFER);
+G_DEFINE_TYPE(GstVaapiVideoBuffer, gst_vaapi_video_buffer, GST_TYPE_SURFACE_BUFFER)
#define GST_VAAPI_VIDEO_BUFFER_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c b/gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c
index c531f793..7ab4b51e 100644
--- a/gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c
+++ b/gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c
@@ -38,7 +38,7 @@
G_DEFINE_TYPE(GstVaapiVideoBufferGLX,
gst_vaapi_video_buffer_glx,
- GST_VAAPI_TYPE_VIDEO_BUFFER);
+ GST_VAAPI_TYPE_VIDEO_BUFFER)
static void
gst_vaapi_video_buffer_glx_class_init(GstVaapiVideoBufferGLXClass *klass)
diff --git a/gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c b/gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c
index 0ea968fb..26de7680 100644
--- a/gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c
+++ b/gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c
@@ -32,7 +32,7 @@ static void gst_vaapi_video_converter_glx_iface_init (GstSurfaceConverterInterfa
G_DEFINE_TYPE_WITH_CODE (GstVaapiVideoConverterGLX, gst_vaapi_video_converter_glx,
G_TYPE_OBJECT,
G_IMPLEMENT_INTERFACE (GST_TYPE_SURFACE_CONVERTER,
- gst_vaapi_video_converter_glx_iface_init));
+ gst_vaapi_video_converter_glx_iface_init))
struct _GstVaapiVideoConverterGLXPrivate {
GstVaapiTexture *texture;
diff --git a/gst-libs/gst/vaapi/gstvaapivideopool.c b/gst-libs/gst/vaapi/gstvaapivideopool.c
index ea24befd..774305ee 100644
--- a/gst-libs/gst/vaapi/gstvaapivideopool.c
+++ b/gst-libs/gst/vaapi/gstvaapivideopool.c
@@ -30,7 +30,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiVideoPool, gst_vaapi_video_pool, G_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiVideoPool, gst_vaapi_video_pool, G_TYPE_OBJECT)
#define GST_VAAPI_VIDEO_POOL_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow.c b/gst-libs/gst/vaapi/gstvaapiwindow.c
index 56ef8ed0..9fb41489 100644
--- a/gst-libs/gst/vaapi/gstvaapiwindow.c
+++ b/gst-libs/gst/vaapi/gstvaapiwindow.c
@@ -32,7 +32,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiWindow, gst_vaapi_window, GST_VAAPI_TYPE_OBJECT);
+G_DEFINE_TYPE(GstVaapiWindow, gst_vaapi_window, GST_VAAPI_TYPE_OBJECT)
#define GST_VAAPI_WINDOW_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_drm.c b/gst-libs/gst/vaapi/gstvaapiwindow_drm.c
index 6303480e..812bf512 100644
--- a/gst-libs/gst/vaapi/gstvaapiwindow_drm.c
+++ b/gst-libs/gst/vaapi/gstvaapiwindow_drm.c
@@ -32,7 +32,7 @@
G_DEFINE_TYPE(GstVaapiWindowDRM,
gst_vaapi_window_drm,
- GST_VAAPI_TYPE_WINDOW);
+ GST_VAAPI_TYPE_WINDOW)
static gboolean
gst_vaapi_window_drm_show(GstVaapiWindow *window)
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_glx.c b/gst-libs/gst/vaapi/gstvaapiwindow_glx.c
index 45c040d7..9266bbbc 100644
--- a/gst-libs/gst/vaapi/gstvaapiwindow_glx.c
+++ b/gst-libs/gst/vaapi/gstvaapiwindow_glx.c
@@ -37,7 +37,7 @@
G_DEFINE_TYPE(GstVaapiWindowGLX,
gst_vaapi_window_glx,
- GST_VAAPI_TYPE_WINDOW_X11);
+ GST_VAAPI_TYPE_WINDOW_X11)
#define GST_VAAPI_WINDOW_GLX_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c b/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
index 5925fe4f..ac2882e6 100644
--- a/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
+++ b/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
@@ -38,7 +38,7 @@
G_DEFINE_TYPE(GstVaapiWindowWayland,
gst_vaapi_window_wayland,
- GST_VAAPI_TYPE_WINDOW);
+ GST_VAAPI_TYPE_WINDOW)
#define GST_VAAPI_WINDOW_WAYLAND_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_x11.c b/gst-libs/gst/vaapi/gstvaapiwindow_x11.c
index 51de0615..9a5db794 100644
--- a/gst-libs/gst/vaapi/gstvaapiwindow_x11.c
+++ b/gst-libs/gst/vaapi/gstvaapiwindow_x11.c
@@ -38,7 +38,7 @@
#define DEBUG 1
#include "gstvaapidebug.h"
-G_DEFINE_TYPE(GstVaapiWindowX11, gst_vaapi_window_x11, GST_VAAPI_TYPE_WINDOW);
+G_DEFINE_TYPE(GstVaapiWindowX11, gst_vaapi_window_x11, GST_VAAPI_TYPE_WINDOW)
#define GST_VAAPI_WINDOW_X11_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \