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

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

Merge "C2 VTS: Enable AdaptiveBitrateTest only for CDD mandated encoders"

parents 01fd6fef 9b02b90b
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -817,6 +817,10 @@ INSTANTIATE_TEST_SUITE_P(EncodeTestwithEOS, Codec2VideoEncEncodeTest,
TEST_P(Codec2VideoEncHidlTest, AdaptiveBitrateTest) {
TEST_P(Codec2VideoEncHidlTest, AdaptiveBitrateTest) {
    description("Encodes input file for different bitrates");
    description("Encodes input file for different bitrates");
    if (mDisableTest) GTEST_SKIP() << "Test is disabled";
    if (mDisableTest) GTEST_SKIP() << "Test is disabled";
    if (mMime != "video/avc" && mMime != "video/hevc" && mMime != "video/x-vnd.on2.vp8" &&
        mMime != "video/x-vnd.on2.vp9") {
        GTEST_SKIP() << "AdaptiveBitrateTest is enabled only for avc, hevc, vp8 and vp9 encoders";
    }


    std::ifstream eleStream;
    std::ifstream eleStream;
    eleStream.open(mInputFile, std::ifstream::binary);
    eleStream.open(mInputFile, std::ifstream::binary);