Skip to content

block duration assignment should set rtimes #183

@tomjnixon

Description

@tomjnixon

block duration assignment sets duration attributes here:

ttps://github.com/ebu/libadm/blob/9955fbd2941756140b3e4a47c1fdcef7d711e162/src/utilities/block_duration_assignment.cpp#L83C1-L88

If the block has a default rtime, it will still have a duration set, which is invalid.

Thus just needs block.set(block.template get<Rtime>()); added to ensure that rtime is set whenever duration is, and some tests.

Spotted by @davemar-bbc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions