mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
libs: window: don't add an unused function
The macro GST_VAAPI_OBJECT_DEFINE_CLASS_WITH_CODE only defines a function that is never used, thus when compiling we might see this warning (clang): gstvaapiwindow.c:147:1: warning: unused function 'gst_vaapi_window_class' [-Wunused-function] GST_VAAPI_OBJECT_DEFINE_CLASS_WITH_CODE (GstVaapiWindow, ^ https://bugzilla.gnome.org/show_bug.cgi?id=759533
This commit is contained in:
parent
8e8280efbf
commit
bd2e304ea4
1 changed files with 0 additions and 3 deletions
|
@ -144,9 +144,6 @@ gst_vaapi_window_class_init (GstVaapiWindowClass * klass)
|
|||
gst_vaapi_window_finalize;
|
||||
}
|
||||
|
||||
GST_VAAPI_OBJECT_DEFINE_CLASS_WITH_CODE (GstVaapiWindow,
|
||||
gst_vaapi_window, gst_vaapi_window_class_init (&g_class));
|
||||
|
||||
GstVaapiWindow *
|
||||
gst_vaapi_window_new_internal (const GstVaapiWindowClass * window_class,
|
||||
GstVaapiDisplay * display, GstVaapiID id, guint width, guint height)
|
||||
|
|
Loading…
Reference in a new issue