bbc / bmx

Library and utilities to read and write broadcasting media files. Primarily supports the MXF file format
BSD 3-Clause "New" or "Revised" License
57 stars 16 forks source link

mxf2raw: check value of frames parameter for rdd6 option #38

Closed Matthew-Marks closed 9 months ago

Matthew-Marks commented 9 months ago

Minor - please feel free to wontfix. You can put any old rubbish in the frames mxf2raw commandline parameter and as long as there's a number in there it seems to be happy. Specifically, if you put in a range separated by a comma rather than a hyphen, it doesn't complain but it doesn't do what you might expect either. Should only allow digits and optional hyphen.