mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
xmptag: Call gst_tag_register_musicbrainz_tags during init
We need to call this to register the MusixBrainz tags before we use them in an XMP schema. Fixes this critical when attempting to run jpegparse on a JPEG containing MusicBrainz XMP tags: GStreamer-CRITICAL **: 20:41:07.885: gst_tag_get_type: assertion 'info != NULL' failed Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3095>
This commit is contained in:
parent
1c8244a19d
commit
a08c972414
1 changed files with 2 additions and 0 deletions
|
@ -941,6 +941,8 @@ _init_xmp_tag_map (gpointer user_data)
|
|||
XmpTag *xmpinfo;
|
||||
GstXmpSchema *schema;
|
||||
|
||||
gst_tag_register_musicbrainz_tags ();
|
||||
|
||||
__xmp_schemas = g_hash_table_new (g_direct_hash, g_direct_equal);
|
||||
|
||||
/* add the maps */
|
||||
|
|
Loading…
Reference in a new issue