summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflac.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-06-07 20:09:05 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-06-07 20:09:05 +0000
commit51aa4cdbd7c7d6c44c0be51e036e2ebdda315511 (patch)
tree79ea1c359c4ad5179bc4d4f0da4f4b0db5ccf134 /ext/flac/gstflac.c
parente805a46dca1c48014b9403d56a69e8394313088d (diff)
FLAC updates, implement sample accurate seeking, add some convert/query functions, make the encoder write a header
Original commit message from CVS: FLAC updates, implement sample accurate seeking, add some convert/query functions, make the encoder write a header
Diffstat (limited to 'ext/flac/gstflac.c')
-rw-r--r--ext/flac/gstflac.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c
index c7bd3814..6faa0357 100644
--- a/ext/flac/gstflac.c
+++ b/ext/flac/gstflac.c
@@ -84,6 +84,12 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstTypeFactory *type;
GstCaps *raw_caps, *flac_caps;
+ /* this filter needs the bytestream package */
+ if (!gst_library_load ("gstbytestream")) {
+ gst_info ("vorbis:: could not load support library: 'gstbytestream'\n");
+ return FALSE;
+ }
+
gst_plugin_set_longname (plugin, "The FLAC Lossless compressor Codec");
/* create an elementfactory for the flacenc element */