On Thu, Aug 20, 2020 at 22:49:16 +0100, Mark Thompson wrote: > With this patch, -disable_auto_conversion_filters does what you want. [...] > + if (!po->name) { > + /* Try to match a boolean option with a negative prefix. */ > + for (int i = 0; i < FF_ARRAY_ELEMS(negative_prefixes); i++) { > + size_t len = strlen(negative_prefixes[i]); > + if (!strncmp(opt, negative_prefixes[i], len)) { > + po = find_option(options, opt + len); > + if (po->name && (po->flags & OPT_BOOL)) { > + arg = "0"; > + break; > + } > + } > + }
Without checking in more detail: Wouldn't this break the "-noise_reduction", "-non_deterministic" and "-non_linear_quant" options? Cheers, Moritz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".