|
|
|
@ -516,7 +516,7 @@ static int hls_window(AVFormatContext *s, int last) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!use_rename && !warned_non_file++) |
|
|
|
|
av_log(s, AV_LOG_ERROR, "Cannot use rename on non file protocol, this may lead to races and temporarly partial files\n"); |
|
|
|
|
av_log(s, AV_LOG_ERROR, "Cannot use rename on non file protocol, this may lead to races and temporary partial files\n"); |
|
|
|
|
|
|
|
|
|
set_http_options(&options, hls); |
|
|
|
|
snprintf(temp_filename, sizeof(temp_filename), use_rename ? "%s.tmp" : "%s", s->filename); |
|
|
|
@ -686,7 +686,7 @@ static int hls_start(AVFormatContext *s) |
|
|
|
|
} else if (av_get_frame_filename2(oc->filename, sizeof(oc->filename), |
|
|
|
|
c->basename, c->wrap ? c->sequence % c->wrap : c->sequence, |
|
|
|
|
AV_FRAME_FILENAME_FLAGS_MULTIPLE) < 0) { |
|
|
|
|
av_log(oc, AV_LOG_ERROR, "Invalid segment filename template '%s' you can try use -use_localtime 1 with it\n", c->basename); |
|
|
|
|
av_log(oc, AV_LOG_ERROR, "Invalid segment filename template '%s' you can try to use -use_localtime 1 with it\n", c->basename); |
|
|
|
|
return AVERROR(EINVAL); |
|
|
|
|
} |
|
|
|
|
if( c->vtt_basename) { |
|
|
|
|