Skip to content

Fix IS-05 test_15: More lenient channel symbols for undefined channel-orders#901

Open
kaihagseth wants to merge 1 commit into
AMWA-TV:masterfrom
kaihagseth:fix-is05-test-15-channel-order
Open

Fix IS-05 test_15: More lenient channel symbols for undefined channel-orders#901
kaihagseth wants to merge 1 commit into
AMWA-TV:masterfrom
kaihagseth:fix-is05-test-15-channel-order

Conversation

@kaihagseth

Copy link
Copy Markdown

In SMPTE 2110-30, undefined channel-order explicitly allows any channel symbols.
The test tried to accommodate for that by falling back to setting channel orders
it did not recognize to undefined, which in turn got compared with the reported
channel-order string from the SDP.

The issue with this approach is that it's perfectly legal to reference known
sequences of symbols as an undefined channel-order. For example, reporting the
symbols "L,R,C" in the source and "U03" in the SDP would previously fail the test,
because the framework aggressively grouped them and expected the SDP channel-
order to be "ST,U01".

Instead of generating a single string as the one true answer for a given symbol
order, this fix allows a wider range of SDPs to be valid for a set of listed
channel symbols by verifying them sequentially.

…order is U01..U64

In SMPTE 2110-30, undefined channel-order explicitly allows any channel symbols. The test tried to accommodate for that by falling back to setting channel orders it did not recognize to undefined, which in turn got compared with the reported channel-order string from the SDP.

The issue with this approach is that it's perfectly legal to reference known sequences of symbols as an undefined channel-order. For example, reporting the symbols "L,R,C" in the source and "U03" in the SDP would previously fail the test, because the framework aggressively grouped them and expected the SDP channel-order to be "ST,U01".

Instead of generating a single string as the one true answer for a given symbol order, this fix allows a wider range of SDPs to be valid for a set of listed channel symbols by verifying them sequentially.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants