sandflow / regxmllib

Convert MXF to XML: RegXML (SMPTE ST 2001-1) tools and libraries
BSD 2-Clause "Simplified" License
35 stars 14 forks source link

Boolean "true" may be encoded as any non-zero uint8 #30

Closed palemieux closed 9 years ago

palemieux commented 9 years ago

Boolean is defined as an "enumeration" {"1 -> true", "0 -> false"} in the register. ST 377 allows any non-zero value to mean "true".

applyRule5_2 in FragmentBuilder should accept any non-zero value to mean "true" for the special type "boolean".