#define GST_CAT_DEFAULT gstv4l2codecs_debug
GST_DEBUG_CATEGORY_EXTERN (gstv4l2codecs_debug);
-GType _gst_v4l2_codec_device_type = 0;
-
GST_DEFINE_MINI_OBJECT_TYPE (GstV4l2CodecDevice, gst_v4l2_codec_device);
static void
GstV4l2CodecDevice *device = g_new0 (GstV4l2CodecDevice, 1);
gst_mini_object_init (GST_MINI_OBJECT_CAST (device),
- 0, _gst_v4l2_codec_device_type, NULL, NULL,
+ 0, GST_TYPE_V4L2_CODEC_DEVICE, NULL, NULL,
(GstMiniObjectFreeFunction) gst_v4l2_codec_device_free);
device->name = g_strdup (name);
#include <gst/gst.h>
-#define GST_TYPE_V4L2_CODEC_DEVICE (_gst_v4l2_codec_device_type)
+#define GST_TYPE_V4L2_CODEC_DEVICE (gst_v4l2_codec_device_get_type())
#define GST_IS_V4L2_CODEC_DEVICE(obj) (GST_IS_MINI_OBJECT_TYPE(obj, GST_TYPE_V4L2_CODEC_DEVICE))
#define GST_V4L2_CODEC_DEVICE(obj) ((GstV4l2CodecDevice *)(obj))