X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fhdsenc.c;h=76701859c131ff940a8da6c02c682c46267baa94;hb=5fc17edc7dcec5ea2989a0d764f3cfb666a7e663;hp=575cc2031e3ba8f68c0e16fab57f4985f8bef24c;hpb=aaa4abfdb8bb86263f666bc75edee1272076c356;p=ffmpeg diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c index 575cc2031e3..76701859c13 100644 --- a/libavformat/hdsenc.c +++ b/libavformat/hdsenc.c @@ -569,7 +569,7 @@ static const AVOption options[] = { { "window_size", "number of fragments kept in the manifest", OFFSET(window_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, E }, { "extra_window_size", "number of fragments kept outside of the manifest before removing from disk", OFFSET(extra_window_size), AV_OPT_TYPE_INT, { .i64 = 5 }, 0, INT_MAX, E }, { "min_frag_duration", "minimum fragment duration (in microseconds)", OFFSET(min_frag_duration), AV_OPT_TYPE_INT64, { .i64 = 10000000 }, 0, INT_MAX, E }, - { "remove_at_exit", "remove all fragments when finished", OFFSET(remove_at_exit), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, E }, + { "remove_at_exit", "remove all fragments when finished", OFFSET(remove_at_exit), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, E }, { NULL }, };