static bool IsProfileSupported(uint32_t aCameraId, int aQuality) { MediaProfiles* profiles = GetMediaProfiles(); return profiles->hasCamcorderProfile(static_cast<int>(aCameraId), static_cast<camcorder_quality>(aQuality)); }
static bool IsProfileSupported(uint32_t aCameraId, uint32_t aProfileIndex) { MediaProfiles* profiles = GetMediaProfiles(); camcorder_quality q = static_cast<camcorder_quality>(ProfileList[aProfileIndex].quality); return profiles->hasCamcorderProfile(static_cast<int>(aCameraId), q); }