Commit 11041ed3 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[tests] update high bitrate xfail for LC3plus to only fail for 0 DoF

parent bd4fa789
Loading
Loading
Loading
Loading
Loading
+22 −14
Original line number Diff line number Diff line
@@ -32,16 +32,23 @@ from tests.split_rendering.utils import *


def check_xfail(test_info, in_fmt, render_config, bitrate=None):
    if "768k" in render_config and (
    if (
        "768k" in render_config
        and "0dof" in render_config
        and (
            "lc3plus" in render_config
            or (in_fmt in INPUT_FORMATS_ISM or in_fmt in INPUT_FORMATS_MC)
            or (
                "external_split" in test_info.node.name and in_fmt in INPUT_FORMATS_AMBI
            )  # CREND for external renderer ambisonics rendering uses LC3plus by default
        )
    ):
        pytest.xfail("0DOF 768kbps LC3plus codec is unsupported")

    if "256k" in render_config and "0dof" not in render_config and (
    if (
        "256k" in render_config
        and "0dof" not in render_config
        and (
            "lcld" in render_config
            or (in_fmt in INPUT_FORMATS_AMBI or in_fmt in INPUT_FORMATS_MASA)
            or (
@@ -49,6 +56,7 @@ def check_xfail(test_info, in_fmt, render_config, bitrate=None):
                and in_fmt in INPUT_FORMATS_MC
                and bitrate <= IVAS_BITRATES_MC[1]
            )  # FastConv for ParamMC/ParamUpmix modes uses LCLD by default
        )
    ):
        pytest.xfail("Unsupported bitrate for LCLD codec")