On Mon, Jan 4, 2016 at 8:50 AM, Hendrik Leppkes <h.lepp...@gmail.com> wrote: > On Mon, Jan 4, 2016 at 2:34 PM, Vittorio Giovara >> if (avctx->qmin >= 0) >> x4->params.rc.i_qp_min = avctx->qmin; >> if (avctx->qmax >= 0) >> @@ -749,6 +758,7 @@ static const AVOption options[] = { >> { "cabac", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, >> INT_MIN, INT_MAX, VE, "coder" }, >> { "b-strategy", "Strategy to choose between I/P/B-frames", >> OFFSET(b_frame_strategy), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 2, VE }, >> { "chroma-offset", "QP difference between chroma and luma", >> OFFSET(chroma_offset), AV_OPT_TYPE_INT, { .i64 = 0 }, INT_MIN, INT_MAX, VE }, >> + { "sc-threshold", "Scene change threshold", >> OFFSET(scenechange_threshold), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE >> }, > > Just like the others, why is the libx264 option spelled differently > than all the other encoders?
Because x264 options have a dash instead of an underscore, and it's not the first time something like this happens. Anyway, since the majority prefer underscores anyway, I'll switch styles. -- Vittorio _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel