- Use Enum for Quality instead of int - Use static values() method from Enum, rather than if-else bug - 2417312
- Changed the Java API as suggested - Treat /etc/media_profiles.xml as the default xml configurtion file