Loading media/extractors/tests/ExtractorUnitTest.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -726,6 +726,9 @@ TEST_P(ConfigParamTest, ConfigParamValidation) { if (configParam.profile != kUndefined) { if (AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_PROFILE, &profile)) { ASSERT_EQ(configParam.profile, profile) << "profile not as expected"; } else if (mExtractorName == AAC && AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_AAC_PROFILE, &profile)) { ASSERT_EQ(configParam.profile, profile) << "profile not as expected"; } else { ASSERT_TRUE(false) << "profile not returned in extractor"; } Loading Loading
media/extractors/tests/ExtractorUnitTest.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -726,6 +726,9 @@ TEST_P(ConfigParamTest, ConfigParamValidation) { if (configParam.profile != kUndefined) { if (AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_PROFILE, &profile)) { ASSERT_EQ(configParam.profile, profile) << "profile not as expected"; } else if (mExtractorName == AAC && AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_AAC_PROFILE, &profile)) { ASSERT_EQ(configParam.profile, profile) << "profile not as expected"; } else { ASSERT_TRUE(false) << "profile not returned in extractor"; } Loading