diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2016-01-27 12:46:36 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2016-01-29 10:58:18 +0100 |
commit | b91093a4111ffc947f3387325a377bb1694a87dd (patch) | |
tree | ec310cbd484780835da26728ca757951142c34a5 /ffmpeg.c | |
parent | e74378aa8c5371d021a71b6810a8949ec5d65856 (diff) | |
download | ffmpeg-b91093a4111ffc947f3387325a377bb1694a87dd.tar.gz |
ffmpeg: replace "flush Media" with "flush_media" in benchmark_all output
Simplify parsing and consistency.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1711,11 +1711,11 @@ static void flush_encoders(void) switch (enc->codec_type) { case AVMEDIA_TYPE_AUDIO: encode = avcodec_encode_audio2; - desc = "Audio"; + desc = "audio"; break; case AVMEDIA_TYPE_VIDEO: encode = avcodec_encode_video2; - desc = "Video"; + desc = "video"; break; default: stop_encoding = 1; @@ -1731,7 +1731,7 @@ static void flush_encoders(void) update_benchmark(NULL); ret = encode(enc, &pkt, NULL, &got_packet); - update_benchmark("flush %s %d.%d", desc, ost->file_index, ost->index); + update_benchmark("flush_%s %d.%d", desc, ost->file_index, ost->index); if (ret < 0) { av_log(NULL, AV_LOG_FATAL, "%s encoding failed: %s\n", desc, |