summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflac.c
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2003-11-28 13:04:21 +0000
committerChristophe Fergeau <teuf@gnome.org>2003-11-28 13:04:21 +0000
commitb169b0a68f1992ec0171754cc755c3c623d2101b (patch)
tree1b7e679f692a4ea5defcd8464fb1f9c7da257542 /ext/flac/gstflac.c
parentf1d94660c599abd2a1891f9f740b0a70f28fe480 (diff)
Use new tagging stuff to read and write flac metadata. Only handles vorbiscomment tags, and not (older) id3v2 tags.
Original commit message from CVS: Use new tagging stuff to read and write flac metadata. Only handles vorbiscomment tags, and not (older) id3v2 tags.
Diffstat (limited to 'ext/flac/gstflac.c')
-rw-r--r--ext/flac/gstflac.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c
index 6b399eff..a52b94f6 100644
--- a/ext/flac/gstflac.c
+++ b/ext/flac/gstflac.c
@@ -32,6 +32,10 @@ plugin_init (GstPlugin *plugin)
if (!gst_library_load ("gstbytestream"))
return FALSE;
+ /* we need the gsttags plugin for metadata querying */
+ if (!gst_plugin_load ("gsttags"))
+ return FALSE;
+
if (!gst_element_register (plugin, "flacenc", GST_RANK_NONE, GST_TYPE_FLACENC))
return FALSE;