changeset 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 b71d8bee8882
children d3b950ee7e5f
files src/demac/plugin.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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) {