diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-02 00:14:00 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-02 00:14:00 +0100 |
| commit | 819285a4572823e343f0d1ab88e2c68c2caf2677 (patch) | |
| tree | 224be7919e05ab6a321948f579d04da015f67a4e /lib/service/servicemp3.cpp | |
| parent | 4030160e538a616edfd896c5cf6481bb458aaabe (diff) | |
| download | enigma2-819285a4572823e343f0d1ab88e2c68c2caf2677.tar.gz enigma2-819285a4572823e343f0d1ab88e2c68c2caf2677.zip | |
add "divx" as known file extension
Diffstat (limited to 'lib/service/servicemp3.cpp')
| -rw-r--r-- | lib/service/servicemp3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 017c58f0..9c1972d7 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -37,6 +37,7 @@ eServiceFactoryMP3::eServiceFactoryMP3() extensions.push_back("wave"); extensions.push_back("mkv"); extensions.push_back("avi"); + extensions.push_back("divx"); extensions.push_back("dat"); extensions.push_back("flac"); extensions.push_back("mp4"); @@ -207,7 +208,7 @@ eServiceMP3::eServiceMP3(const char *filename): m_filename(filename), m_pump(eAp sourceinfo.containertype = ctMPEGTS; else if ( strcasecmp(ext, ".mkv") == 0 ) sourceinfo.containertype = ctMKV; - else if ( strcasecmp(ext, ".avi") == 0 ) + else if ( strcasecmp(ext, ".avi") == 0 || strcasecmp(ext, ".divx") == 0) sourceinfo.containertype = ctAVI; else if ( strcasecmp(ext, ".mp4") == 0 ) sourceinfo.containertype = ctMP4; |
