diff src/demac/plugin.c @ 2261:05c9bec29aaa

- Prevent APE plugin from freaking out non-seekable streams
author Ralf Ertzinger <ralf@skytale.net>
date Sat, 22 Dec 2007 21:19:18 +0100
parents 8b3c2fe608c9
children 699b5e756bc4
line wrap: on
line diff
--- a/src/demac/plugin.c	Fri Dec 21 12:17:25 2007 -0600
+++ b/src/demac/plugin.c	Sat Dec 22 21:19:18 2007 +0100
@@ -305,6 +305,11 @@
     Tuple *tpl = aud_tuple_new_from_filename(uri);
     gchar codec_string[32];
 
+    if (aud_vfs_is_streaming(vfd)) {
+        /* This plugin does not support streams yet */
+        return NULL;
+    }
+
     mowgli_dictionary_t *tag = NULL;
     gchar *item;
     if ((tag = parse_apev2_tag(vfd)) != NULL) {