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

Commit d1626984 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "ExtractorUnitTest: Fix ConfigParamValidationtest for AAC extractors"

parents 225b230c 9232d5c2
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";
        }