diff --git a/sys/uvch264/gstuvch264deviceprovider.c b/sys/uvch264/gstuvch264deviceprovider.c index f457670b82..f27a72b24f 100644 --- a/sys/uvch264/gstuvch264deviceprovider.c +++ b/sys/uvch264/gstuvch264deviceprovider.c @@ -37,6 +37,7 @@ #include "uvc_h264.h" #include +#include "gstuvch264deviceprovider.h" enum { @@ -45,9 +46,6 @@ enum /* *INDENT-OFF* */ -G_DECLARE_FINAL_TYPE (GstUvcH264Device, gst_uvc_h264_device, GST_, - UVC_H264_DEVICE, GstDevice) - struct _GstUvcH264Device { GstDevice parent; @@ -134,10 +132,7 @@ gst_uvc_h264_device_init (GstUvcH264Device * device) { } - /* *INDENT-OFF* */ -G_DECLARE_FINAL_TYPE (GstUvcH264DeviceProvider, gst_uvc_h264_device_provider, GST, UVC_H264_DEVICE_PROVIDER, GstDeviceProvider) - struct _GstUvcH264DeviceProvider { GstDeviceProvider parent; diff --git a/sys/uvch264/gstuvch264deviceprovider.h b/sys/uvch264/gstuvch264deviceprovider.h new file mode 100644 index 0000000000..599dad72bc --- /dev/null +++ b/sys/uvch264/gstuvch264deviceprovider.h @@ -0,0 +1,30 @@ +/* GStreamer + * Copyright (C) 2019 Thibault Saunier + * + * gstuvc_h264deviceprovider.c: UvcH264 device probing and monitoring + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#include + +G_BEGIN_DECLS + +G_DECLARE_FINAL_TYPE (GstUvcH264Device, gst_uvc_h264_device, GST, UVC_H264_DEVICE, GstDevice) + +G_DECLARE_FINAL_TYPE (GstUvcH264DeviceProvider, gst_uvc_h264_device_provider, GST, UVC_H264_DEVICE_PROVIDER, GstDeviceProvider) + +G_END_DECLS