From 5f49e9537001d33eced0b7989f735dd8947bf319 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 22 Aug 2005 11:20:18 +0000 Subject: Port flacdec (seeking is still slow'ish). Original commit message from CVS: * configure.ac: * ext/Makefile.am: * ext/flac/Makefile.am: * ext/flac/gstflac.c: (plugin_init): * ext/flac/gstflacdec.c: (flacdec_get_type), (gst_flacdec_init), (gst_flacdec_update_metadata), (gst_flacdec_seek), (gst_flacdec_tell), (gst_flacdec_length), (gst_flacdec_read), (gst_flacdec_write), (gst_flacdec_loop), (gst_flacdec_get_src_query_types), (gst_flacdec_src_query), (gst_flacdec_src_event), (gst_flacdec_sink_activate), (gst_flacdec_sink_activate_pull), (gst_flacdec_change_state): * ext/flac/gstflacdec.h: Port flacdec (seeking is still slow'ish). --- ext/flac/gstflac.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'ext/flac/gstflac.c') diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c index 9432713f..28aa4e11 100644 --- a/ext/flac/gstflac.c +++ b/ext/flac/gstflac.c @@ -30,25 +30,19 @@ static gboolean 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 0 if (!gst_element_register (plugin, "flacenc", GST_RANK_NONE, GST_TYPE_FLACENC)) return FALSE; - +#endif if (!gst_element_register (plugin, "flacdec", GST_RANK_PRIMARY, GST_TYPE_FLACDEC)) return FALSE; - +#if 0 if (!gst_element_register (plugin, "flactag", GST_RANK_PRIMARY, gst_flac_tag_get_type ())) return FALSE; - +#endif return TRUE; } -- cgit