lavf/segment: log segments as they end to AV_LOG_VERBOSE

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
This commit is contained in:
Billy Shambrook 2013-10-15 11:53:40 +01:00 committed by Stefano Sabatini
parent 3b9f8e7cd9
commit 67e507e10e
1 changed files with 4 additions and 0 deletions

View File

@ -319,6 +319,10 @@ static int segment_end(AVFormatContext *s, int write_trailer, int is_last)
avio_flush(seg->list_pb);
}
av_log(s, AV_LOG_VERBOSE, "segment:'%s' count:%d ended\n",
seg->avf->filename, seg->segment_count);
seg->segment_count++;
end:
avio_close(oc->pb);