From 369fc3b1ddedfc98322bbf973125de1c76f49314 Mon Sep 17 00:00:00 2001 From: phintuka Date: Sun, 7 Jan 2007 03:35:04 +0000 Subject: ogm, spx, dat, mkv --- config.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.c') diff --git a/config.c b/config.c index 89c80cb1..ff47938b 100644 --- a/config.c +++ b/config.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.20 2006-12-24 09:52:15 phintuka Exp $ + * $Id: config.c,v 1.21 2007-01-07 03:35:04 phintuka Exp $ * */ @@ -120,11 +120,13 @@ bool config_t::IsAudioFile(const char *fname) !strcasecmp(pos, "flac") || !strcasecmp(pos, "ac3") || !strcasecmp(pos, "ogg") || + !strcasecmp(pos, "ogm") || !strcasecmp(pos, "au") || !strcasecmp(pos, "aud") || !strcasecmp(pos, "wma") || !strcasecmp(pos, "asf") || !strcasecmp(pos, "wav") || + !strcasecmp(pos, "spx") || !strcasecmp(pos, "ra")) return true; return IsPlaylistFile(fname); @@ -155,6 +157,8 @@ bool config_t::IsVideoFile(const char *fname) !strcasecmp(pos, "divx") || !strcasecmp(pos, "fli") || !strcasecmp(pos, "dv") || + !strcasecmp(pos, "dat") || + !strcasecmp(pos, "mkv") || !strcasecmp(pos, "rm") || !strcasecmp(pos, "iso")) /* maybe dvd */ return true; -- cgit v1.2.3