-
Karsten Suehring authored
At the encoder there are long parameters like "--QP=32" and short parameters like "-q 32" For layer parameters -lx (with x being the layer index) the encoder always assumes that -lx is followed by two parameters, which is only true for short type parameters. This checks for "--" in the first parameter following -lx and only reads a second parameter, if "--" is not found at the beginning.
Karsten Suehring authoredAt the encoder there are long parameters like "--QP=32" and short parameters like "-q 32" For layer parameters -lx (with x being the layer index) the encoder always assumes that -lx is followed by two parameters, which is only true for short type parameters. This checks for "--" in the first parameter following -lx and only reads a second parameter, if "--" is not found at the beginning.