aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hlsenc.c
diff options
context:
space:
mode:
authorDave Johansen <davejohansen@gmail.com>2023-10-26 21:59:40 -0600
committerSteven Liu <lq@chinaffmpeg.org>2023-11-12 16:47:40 +0800
commitab78d22553fe7052e0763f9bb319b0ba9c3bca47 (patch)
tree1583605c6458028ed3ab774a9a260a7dcd6c91c6 /libavformat/hlsenc.c
parent39878fc50400f347075f75d1a0cbb77b16fb9c9d (diff)
downloadffmpeg-ab78d22553fe7052e0763f9bb319b0ba9c3bca47.tar.gz
avformat/hlsenc: Fix name of flag in error message
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r--libavformat/hlsenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 8c001a0d39..7049956dd7 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -998,7 +998,7 @@ static int sls_flags_filename_process(struct AVFormatContext *s, HLSContext *hls
't', (int64_t)round(duration * HLS_MICROSECOND_UNIT)) < 1) {
av_log(hls, AV_LOG_ERROR,
"Invalid second level segment filename template '%s', "
- "you can try to remove second_level_segment_time flag\n",
+ "you can try to remove second_level_segment_duration flag\n",
vs->avf->url);
av_freep(&filename);
return AVERROR(EINVAL);
@@ -1091,7 +1091,7 @@ static int sls_flag_use_localtime_filename(AVFormatContext *oc, HLSContext *c, V
char *filename = NULL;
if (replace_int_data_in_filename(&filename, oc->url, 't', 0) < 1) {
av_log(c, AV_LOG_ERROR, "Invalid second level segment filename template '%s', "
- "you can try to remove second_level_segment_time flag\n",
+ "you can try to remove second_level_segment_duration flag\n",
oc->url);
av_freep(&filename);
return AVERROR(EINVAL);