Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4622782c authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "ExtractorUnitTest: Fix ConfigParamValidationtest for AAC extractors" am: d1626984

Original change: undetermined

Change-Id: Iacddb8afef9729cb7096e3247178b87409942437
parents e30ccb41 d1626984
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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";
        }