1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

ffmpeg: replace "flush Media" with "flush_media" in benchmark_all output

Simplify parsing and consistency.
This commit is contained in:
Stefano Sabatini
2016-01-27 12:46:36 +01:00
parent e74378aa8c
commit b91093a411

View File

@@ -1711,11 +1711,11 @@ static void flush_encoders(void)
switch (enc->codec_type) { switch (enc->codec_type) {
case AVMEDIA_TYPE_AUDIO: case AVMEDIA_TYPE_AUDIO:
encode = avcodec_encode_audio2; encode = avcodec_encode_audio2;
desc = "Audio"; desc = "audio";
break; break;
case AVMEDIA_TYPE_VIDEO: case AVMEDIA_TYPE_VIDEO:
encode = avcodec_encode_video2; encode = avcodec_encode_video2;
desc = "Video"; desc = "video";
break; break;
default: default:
stop_encoding = 1; stop_encoding = 1;
@@ -1731,7 +1731,7 @@ static void flush_encoders(void)
update_benchmark(NULL); update_benchmark(NULL);
ret = encode(enc, &pkt, NULL, &got_packet); 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) { if (ret < 0) {
av_log(NULL, AV_LOG_FATAL, "%s encoding failed: %s\n", av_log(NULL, AV_LOG_FATAL, "%s encoding failed: %s\n",
desc, desc,