On Fri, 27 Oct 2023 19:04:44 +0200 Niklas Haas <ffm...@haasn.xyz> wrote: > - { "in_color_matrix", "set input YCbCr type", OFFSET(in_color_matrix), > AV_OPT_TYPE_STRING, { .str = "auto" }, .flags = FLAGS, "color" }, > - { "out_color_matrix", "set output YCbCr type", > OFFSET(out_color_matrix), AV_OPT_TYPE_STRING, { .str = NULL }, .flags = > FLAGS, "color"}, > + { "in_color_matrix", "set input YCbCr type", OFFSET(in_color_matrix), > AV_OPT_TYPE_INT, { .i64 = AVCOL_SPC_UNSPECIFIED }, 0, AVCOL_SPC_NB-1, .flags > = FLAGS, "color" }, > + { "out_color_matrix", "set output YCbCr type", > OFFSET(out_color_matrix), AV_OPT_TYPE_INT, { .i64 = AVCOL_SPC_UNSPECIFIED }, > 0, AVCOL_SPC_NB-1, .flags = FLAGS, "color"},
Bug: Should be set to -1 by default, to preserve old behavior. Will fix in v2. _______________________________________________ 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".