summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflac.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-08-22 11:20:18 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-08-22 11:20:18 +0000
commit5f49e9537001d33eced0b7989f735dd8947bf319 (patch)
treed441bfd6872ed86af87e862f14573d06471f4fa9 /ext/flac/gstflac.c
parent4c0e64b25156a167b1e4fce9ce7dc5a0f221a1c7 (diff)
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).
Diffstat (limited to 'ext/flac/gstflac.c')
-rw-r--r--ext/flac/gstflac.c14
1 files changed, 4 insertions, 10 deletions
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;
}