summaryrefslogtreecommitdiffstats
path: root/gst/id3demux/gstid3demux.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-07-23 11:33:54 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-07-23 11:33:54 +0000
commit87b522209f8a30b7355350ea9c5225bb44b5fac4 (patch)
tree3397c5ec7a65d7f2feabdcfd86815e79233a200a /gst/id3demux/gstid3demux.c
parent92e494c3b15d688bd1327a8ac200a7cc8bc14395 (diff)
gst/id3demux/: On second thought, it might be wiser and more efficient not to do tag registration from a streaming th...
Original commit message from CVS: * gst/id3demux/gstid3demux.c: (plugin_init): * gst/id3demux/id3tags.c: (id3demux_add_id3v2_frame_blob_to_taglist): * gst/id3demux/id3tags.h: On second thought, it might be wiser and more efficient not to do tag registration from a streaming thread.
Diffstat (limited to 'gst/id3demux/gstid3demux.c')
-rw-r--r--gst/id3demux/gstid3demux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/id3demux/gstid3demux.c b/gst/id3demux/gstid3demux.c
index 5f51a6a2..72bff138 100644
--- a/gst/id3demux/gstid3demux.c
+++ b/gst/id3demux/gstid3demux.c
@@ -1090,6 +1090,11 @@ plugin_init (GstPlugin * plugin)
gst_tag_register_musicbrainz_tags ();
+ /* ensure private tag is registered */
+ gst_tag_register (GST_ID3_DEMUX_TAG_ID3V2_FRAME, GST_TAG_FLAG_META,
+ GST_TYPE_BUFFER, "ID3v2 frame", "unparsed id3v2 tag frame",
+ gst_tag_merge_use_first);
+
return gst_element_register (plugin, "id3demux",
GST_RANK_PRIMARY, GST_TYPE_ID3DEMUX);
}