Make OUTPUT_DIRECTORY play nicely with -S & -o
author JapSeyz
()
committer GitHub
()
commit cce267d19ddad1eda48243ddad8c4cdd819ab877
tree 65dae9c880a226271585874cacc73ab97f906d66
parent 40dc4fca5c0364ea9887ebd3b70ac7be3b7aaf04
Make OUTPUT_DIRECTORY play nicely with -S & -o

The command:
`./segment.sh -i video.mov -s 4 -b 512 -t video -p video -S partials -o streams` would fail without this fix, as it would try to access streamspartials (notice the missing directory-separator).

and you would have to append the slash in your config and make the command look like this:
`./segment.sh -i video.mov -s 4 -b 512 -t video -p video -S partials -o streams/`

This fixes the issue, and you can now omit the last slash in the -o flag.
HLS-Stream-Creator.sh