diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-04-01 12:05:04 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-04-01 12:05:04 +0200 |
| commit | d892321813a7129f777ab69d05afb8a38cb737b0 (patch) | |
| tree | d1ec1cccee59daecd66b0db138c265b9da062d75 /lib/service/servicemp3.cpp | |
| parent | ccacb75cc03833ebc4a44bbc740bb8b196b53880 (diff) | |
| download | enigma2-d892321813a7129f777ab69d05afb8a38cb737b0.tar.gz enigma2-d892321813a7129f777ab69d05afb8a38cb737b0.zip | |
add .mov as playable 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 569272b0..b1764eb4 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -40,6 +40,7 @@ eServiceFactoryMP3::eServiceFactoryMP3() extensions.push_back("dat"); extensions.push_back("flac"); extensions.push_back("mp4"); + extensions.push_back("mov"); extensions.push_back("m4a"); sc->addServiceFactory(eServiceFactoryMP3::id, this, extensions); } @@ -223,7 +224,7 @@ eServiceMP3::eServiceMP3(const char *filename): m_filename(filename), m_pump(eAp sourceinfo.containertype = ctAVI; sourceinfo.is_video = TRUE; } - else if ( strcasecmp(ext, ".mp4") == 0 ) + else if ( strcasecmp(ext, ".mp4") == 0 || strcasecmp(ext, ".mov") == 0) { sourceinfo.containertype = ctMP4; sourceinfo.is_video = TRUE; |
