OSDN Git Service

Add .mpga to acceptable file name extensions list.
authorJan Bjernler <jan2.bjernler@sonymobile.com>
Fri, 16 Nov 2012 15:40:42 +0000 (16:40 +0100)
committerZoran Jovanovic <zoran.jovanovic@sonymobile.com>
Fri, 16 Nov 2012 15:41:16 +0000 (16:41 +0100)
commit03163f4ed4e130c5df454e3ab2a5bb3690c26be1
tree4c37fcdb7d1928c14c9bbffe0b9313dbd9a7fc07
parent33cf49b168a88a88167c46b01787a57b49cd875f
Add .mpga to acceptable file name extensions list.

The *.mpga files are playable, but are not correctly scanned.
This is because they are prevented from being scanned in
StagefrightMediaScanner.cpp.
What this fix does is to add the extension to the list of valid
file extensions so that the scanner handles the filetype properly.
We have previously added the .mpga extension to the framework to
make it playable, but not added it so that the scanner scans it.

Change-Id: I02a44d770adb80d38e8bed77d0d76efa1b28a861
media/libstagefright/StagefrightMediaScanner.cpp