comparison src/audacious/input.c @ 3342:5d50b9604ddc trunk

Remove hardcoded test because uri_get_plugin should take care of it now
author Christian Birchinger <joker@netswarm.net>
date Sun, 12 Aug 2007 21:38:04 +0200
parents 3da640de0e99
children f5a413804217
comparison
equal deleted inserted replaced
3341:3da640de0e99 3342:5d50b9604ddc
389 return NULL; 389 return NULL;
390 } 390 }
391 391
392 /* CD-Audio uses cdda:// dummy paths, no filedescriptor handling for it */ 392 /* CD-Audio uses cdda:// dummy paths, no filedescriptor handling for it */
393 /* also cuesheet uses cue:// */ 393 /* also cuesheet uses cue:// */
394 if (!g_strncasecmp(filename, "cdda://", 7) || 394 if (!g_strncasecmp(filename, "cue://", 6)) {
395 !g_strncasecmp(filename, "cue://", 6)) {
396 for (node = get_input_list(); node != NULL; node = g_list_next(node)) 395 for (node = get_input_list(); node != NULL; node = g_list_next(node))
397 { 396 {
398 ip = INPUT_PLUGIN(node->data); 397 ip = INPUT_PLUGIN(node->data);
399 if (!ip || !input_is_enabled(ip->filename)) 398 if (!ip || !input_is_enabled(ip->filename))
400 continue; 399 continue;