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

Commit 40b38556 authored by Manisha Jajoo's avatar Manisha Jajoo Committed by Pawin Vongmasa
Browse files

VTS: validate CSD is not received from h263 encoder

Test: atest VtsHalMediaC2V1_0TargetVideoEncTest

Bug: 157572658
Change-Id: Ica701cb9f38af232f3e39a5488bc55de5c8c36b0
parent 72c3e0bb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -510,11 +510,11 @@ TEST_P(Codec2VideoEncEncodeTest, EncodeTest) {
        ASSERT_TRUE(false);
    }

    if (!mCsd && (mCompName != vp8 && mCompName != vp9)) {
    if (!mCsd && (mCompName != vp8 && mCompName != vp9 && mCompName != h263)) {
        ASSERT_TRUE(false) << "CSD Buffer not received";
    }

    if (mCsd && (mCompName == vp8 || mCompName == vp9)) {
    if (mCsd && (mCompName == vp8 || mCompName == vp9 || mCompName == h263)) {
        ASSERT_TRUE(false) << "CSD Buffer not expected";
    }