summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-06-19 06:09:48 +0000
committerphintuka <phintuka>2007-06-19 06:09:48 +0000
commit0bc56d1171907b27e3685aaec7b41fe878a80d06 (patch)
treeb4e88aa9ac995cd569dfd74a27410972ebc1997f
parent2de1225cb3dc295f135e1981b3f8c5ee66362327 (diff)
downloadxineliboutput-0bc56d1171907b27e3685aaec7b41fe878a80d06.tar.gz
xineliboutput-0bc56d1171907b27e3685aaec7b41fe878a80d06.tar.bz2
New media file types (Seppo Ingalsuo)
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index a10cd9cb..49f68536 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.42 2007-06-19 06:06:22 phintuka Exp $
+ * $Id: config.c,v 1.43 2007-06-19 06:09:48 phintuka Exp $
*
*/
@@ -130,6 +130,7 @@ bool config_t::IsAudioFile(const char *fname)
if(!strcasecmp(pos, "mpa") ||
!strcasecmp(pos, "mp2") ||
!strcasecmp(pos, "mp3") ||
+ !strcasecmp(pos, "m4a") ||
!strcasecmp(pos, "mpega") ||
!strcasecmp(pos, "flac") ||
!strcasecmp(pos, "ac3") ||
@@ -157,6 +158,8 @@ bool config_t::IsVideoFile(const char *fname)
pos++;
if(!strcasecmp(pos, "avi") ||
!strcasecmp(pos, "mpv") ||
+ !strcasecmp(pos, "m2v") ||
+ !strcasecmp(pos, "m4v") ||
!strcasecmp(pos, "vob") ||
!strcasecmp(pos, "vdr") ||
!strcasecmp(pos, "mpg") ||