mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-04 16:39:39 +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/3092>
This commit is contained in:
parent
d2c13f0c26
commit
4edfc86c2a
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