[FFmpeg-devel] [PATCH] astenc: add an option to set the loop flag

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Dec 7 09:00:46 CET 2012


James Almer <jamrial <at> gmail.com> writes:

> +  { "astflags",  "AST Muxer flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, 
> {.i64 = 0}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "astflags" },
> +  { "loop",      "Enable looping",  0,             AV_OPT_TYPE_CONST, 
> {.i64 = 1}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "astflags" },
>    { "loopstart", "Loopstart position in milliseconds.", OFFSET(loopstart), 
> AV_OPT_TYPE_INT64, { .i64 = 0 }, 0, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM },
>    { "loopend",   "Loopend position in milliseconds.",   OFFSET(loopend), 
> AV_OPT_TYPE_INT64, { .i64 = 0 }, 0, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM },

Shouldn't instead a different value be written depending 
on what the user set for loopstart and loopend?

Carl Eugen



More information about the ffmpeg-devel mailing list