mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 21:42:09 +00:00
avformat/hlsenc: print warning at the end when upload the last segment failed
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
307e0627db
commit
5b809a8d4b
@ -2601,6 +2601,8 @@ static int hls_write_trailer(struct AVFormatContext *s)
|
||||
}
|
||||
reflush_dynbuf(vs, &range_length);
|
||||
ret = hlsenc_io_close(s, &vs->out, filename);
|
||||
if (ret < 0)
|
||||
av_log(s, AV_LOG_WARNING, "Failed to upload file '%s' at the end.\n", vs->avf->url);
|
||||
}
|
||||
av_free(vs->temp_buffer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user