mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-03 05:59:44 +00:00
exif: add debug category
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6741>
This commit is contained in:
parent
f0ef33d018
commit
7074849c5c
|
@ -65,6 +65,25 @@ typedef struct _GstExifWriter GstExifWriter;
|
||||||
typedef struct _GstExifReader GstExifReader;
|
typedef struct _GstExifReader GstExifReader;
|
||||||
typedef struct _GstExifTagData GstExifTagData;
|
typedef struct _GstExifTagData GstExifTagData;
|
||||||
|
|
||||||
|
#define GST_CAT_DEFAULT gst_exif_tag_ensure_debug_category()
|
||||||
|
|
||||||
|
static GstDebugCategory *
|
||||||
|
gst_exif_tag_ensure_debug_category (void)
|
||||||
|
{
|
||||||
|
static gsize cat_gonce = 0;
|
||||||
|
|
||||||
|
if (g_once_init_enter (&cat_gonce)) {
|
||||||
|
GstDebugCategory *cat = NULL;
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (cat, "exif-tags", 0, "EXIF tag parsing");
|
||||||
|
|
||||||
|
g_once_init_leave (&cat_gonce, (gsize) cat);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (GstDebugCategory *) cat_gonce;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
typedef void (*GstExifSerializationFunc) (GstExifWriter * writer,
|
typedef void (*GstExifSerializationFunc) (GstExifWriter * writer,
|
||||||
const GstTagList * taglist, const GstExifTagMatch * exiftag);
|
const GstTagList * taglist, const GstExifTagMatch * exiftag);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue