diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-08-09 09:51:51 +0200 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2016-08-10 14:22:42 -0700 |
commit | 8d41a10e57903142b9daba6a31a47f101757130c (patch) | |
tree | 5f39639e984c8f492c16022df57512d8c36e2bd4 /media/libstagefright | |
parent | 2071f20583103d1ccf6102f84b2eedd6bb1214ba (diff) | |
download | frameworks_av-8d41a10e57903142b9daba6a31a47f101757130c.zip frameworks_av-8d41a10e57903142b9daba6a31a47f101757130c.tar.gz frameworks_av-8d41a10e57903142b9daba6a31a47f101757130c.tar.bz2 |
mediascanner: Accept .opus file extension.
Apparently there are a number of people and/or tools that name their
opus coded audio in ogg containers *.opus. Reflect that fact.
Change-Id: I0617a6d93fe793cdef06ffd4e334001e5f9b054e
Diffstat (limited to 'media/libstagefright')
-rw-r--r-- | media/libstagefright/StagefrightMediaScanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/StagefrightMediaScanner.cpp b/media/libstagefright/StagefrightMediaScanner.cpp index 8d3392e..d5ef1a6 100644 --- a/media/libstagefright/StagefrightMediaScanner.cpp +++ b/media/libstagefright/StagefrightMediaScanner.cpp @@ -46,7 +46,7 @@ static bool FileHasAcceptableExtension(const char *extension) { ".mov", ".ra", ".rm", ".rmvb", ".ac3", ".ape", ".dts", ".mp1", ".mp2", ".f4v", "hlv", "nrg", "m2v", ".swf", ".avi", ".mpg", ".mpeg", ".awb", ".vc1", ".vob", ".divx", - ".mpga", ".mov", ".qcp", ".ec3" + ".mpga", ".mov", ".qcp", ".ec3", ".opus" }; static const size_t kNumValidExtensions = sizeof(kValidExtensions) / sizeof(kValidExtensions[0]); |