Closed SteveR-PMP closed 7 months ago
@SteveR-PMP, if you are okay with the two edits I made, and if the builds and tests all pass, I will merge this for release in v3.0.0.
@joeyparrish @SteveR-PMP one comment would be to change hls_params and other references initializing bool to true so that's default when the cli argument is not passed ?
Also documentation change to explicitly note that this is the default behavior and set it to false to get old random ordering behavior
Looks like test outputs may need to be updated.
There may also be some bugs here, I'm looking at the test output and seeing some cases where adaptation set ID ends up being 4294967295 which might mean there are some code paths that are not setting this properly. I'm digging into it.
Thank you, @cosmin. I would welcome any changes you want to push to the fork for this PR to correct these issues before we merge it.
I'm taking a look to see if there's a way to do this more cleanly.
@joeyparrish take a look at the changes I pushed and see if it still looks good to you
@cosmin The changes look good to me, except can we stay with the variable name of 'cl_index' since it is associated with the command-line option 'force_cl_index'? 'index' seems too generic of a name.
@SteveR-PMP it should be generic, the underlying code may not be called from a command line and yet an index can be provided. The flag (on by default) is whether the command line interface will set the order, and nothing outside of the packager_main ought to look at the force_cl_index
flag.
It builds locally, this usually means there's some missing include of probably optional somewhere, I'll track it down.
This will force the muxer to order streams in the order given on the command-line.
Closes #560 Closes #1280 Closes #1313