mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 16:35:06 +03:00
gstreamer: Omit extra semicolons
Macros used in gstreamer (e.g. G_DEFINE_TYPE) are functions. The end semicolons with the macros are unnecessary. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
6219257562
commit
da0dd36149
6 changed files with 8 additions and 8 deletions
|
@ -24,4 +24,4 @@ plugin_init(GstPlugin *plugin)
|
|||
|
||||
GST_PLUGIN_DEFINE(GST_VERSION_MAJOR, GST_VERSION_MINOR,
|
||||
libcamera, "libcamera capture plugin",
|
||||
plugin_init, VERSION, "LGPL", PACKAGE, "https://libcamera.org");
|
||||
plugin_init, VERSION, "LGPL", PACKAGE, "https://libcamera.org")
|
||||
|
|
|
@ -101,7 +101,7 @@ struct _GstLibcameraAllocator {
|
|||
};
|
||||
|
||||
G_DEFINE_TYPE(GstLibcameraAllocator, gst_libcamera_allocator,
|
||||
GST_TYPE_DMABUF_ALLOCATOR);
|
||||
GST_TYPE_DMABUF_ALLOCATOR)
|
||||
|
||||
static gboolean
|
||||
gst_libcamera_allocator_release(GstMiniObject *mini_object)
|
||||
|
|
|
@ -27,7 +27,7 @@ enum {
|
|||
PROP_STREAM_ROLE
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE(GstLibcameraPad, gst_libcamera_pad, GST_TYPE_PAD);
|
||||
G_DEFINE_TYPE(GstLibcameraPad, gst_libcamera_pad, GST_TYPE_PAD)
|
||||
|
||||
static void
|
||||
gst_libcamera_pad_set_property(GObject *object, guint prop_id,
|
||||
|
|
|
@ -29,7 +29,7 @@ struct _GstLibcameraPool {
|
|||
Stream *stream;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE(GstLibcameraPool, gst_libcamera_pool, GST_TYPE_BUFFER_POOL);
|
||||
G_DEFINE_TYPE(GstLibcameraPool, gst_libcamera_pool, GST_TYPE_BUFFER_POOL)
|
||||
|
||||
static GstFlowReturn
|
||||
gst_libcamera_pool_acquire_buffer(GstBufferPool *pool, GstBuffer **buffer,
|
||||
|
|
|
@ -35,14 +35,14 @@ enum {
|
|||
|
||||
#define GST_TYPE_LIBCAMERA_DEVICE gst_libcamera_device_get_type()
|
||||
G_DECLARE_FINAL_TYPE(GstLibcameraDevice, gst_libcamera_device,
|
||||
GST_LIBCAMERA, DEVICE, GstDevice);
|
||||
GST_LIBCAMERA, DEVICE, GstDevice)
|
||||
|
||||
struct _GstLibcameraDevice {
|
||||
GstDevice parent;
|
||||
gchar *name;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE(GstLibcameraDevice, gst_libcamera_device, GST_TYPE_DEVICE);
|
||||
G_DEFINE_TYPE(GstLibcameraDevice, gst_libcamera_device, GST_TYPE_DEVICE)
|
||||
|
||||
static GstElement *
|
||||
gst_libcamera_device_create_element(GstDevice *device, const gchar *name)
|
||||
|
@ -164,7 +164,7 @@ struct _GstLibcameraProvider {
|
|||
G_DEFINE_TYPE_WITH_CODE(GstLibcameraProvider, gst_libcamera_provider,
|
||||
GST_TYPE_DEVICE_PROVIDER,
|
||||
GST_DEBUG_CATEGORY_INIT(provider_debug, "libcamera-provider", 0,
|
||||
"libcamera Device Provider"));
|
||||
"libcamera Device Provider"))
|
||||
|
||||
static GList *
|
||||
gst_libcamera_provider_probe(GstDeviceProvider *provider)
|
||||
|
|
|
@ -140,7 +140,7 @@ enum {
|
|||
|
||||
G_DEFINE_TYPE_WITH_CODE(GstLibcameraSrc, gst_libcamera_src, GST_TYPE_ELEMENT,
|
||||
GST_DEBUG_CATEGORY_INIT(source_debug, "libcamerasrc", 0,
|
||||
"libcamera Source"));
|
||||
"libcamera Source"))
|
||||
|
||||
#define TEMPLATE_CAPS GST_STATIC_CAPS("video/x-raw; image/jpeg")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue