]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/smoothstreamingenc.c
Merge commit '68e547ae8b455e5e2b60839f35c359d77a6d94bc'
[ffmpeg] / libavformat / smoothstreamingenc.c
index 1ae3b49cf5cebad61e4c68dde90cda966cba7b3f..a26f8fe28e82fdb5d014e35a18374ed131d1c9a8 100644 (file)
@@ -622,7 +622,7 @@ static const AVOption options[] = {
     { "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 },
     { "lookahead_count", "number of lookahead fragments", OFFSET(lookahead_count), AV_OPT_TYPE_INT, { .i64 = 2 }, 0, INT_MAX, E },
     { "min_frag_duration", "minimum fragment duration (in microseconds)", OFFSET(min_frag_duration), AV_OPT_TYPE_INT64, { .i64 = 5000000 }, 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 },
 };