Skip to content
Snippets Groups Projects
  • Karsten Suehring's avatar
    1d3b2348
    Fix encoder command line parsing for layer-wise parameters · 1d3b2348
    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.
    1d3b2348
    History
    Fix encoder command line parsing for layer-wise parameters
    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.