From 6eadcfe821b669a6a2ae2c44e1bb11e4dd99f5c2 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 21 Jul 2019 11:53:34 +0200 Subject: [PATCH] ffmpeg/tools: Hide additional common capabilities Shortens the visible encoder name by removing the "Requires Flush" and Threading clutter that no longer matters and is automatically handled. --- source/ffmpeg/tools.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/ffmpeg/tools.cpp b/source/ffmpeg/tools.cpp index 2ac3ea2..ebc9111 100644 --- a/source/ffmpeg/tools.cpp +++ b/source/ffmpeg/tools.cpp @@ -36,12 +36,12 @@ std::string ffmpeg::tools::translate_encoder_capabilities(int capabilities) // Quality {AV_CODEC_CAP_LOSSLESS, "Lossless"}, - {AV_CODEC_CAP_INTRA_ONLY, "I-Frames only"}, + //{AV_CODEC_CAP_INTRA_ONLY, "I-Frames only"}, // Threading - {AV_CODEC_CAP_FRAME_THREADS, "Frame-Threading"}, - {AV_CODEC_CAP_SLICE_THREADS, "Slice-Threading"}, - {AV_CODEC_CAP_AUTO_THREADS, "Automatic-Threading"}, + //{AV_CODEC_CAP_FRAME_THREADS, "Frame-Threading"}, + //{AV_CODEC_CAP_SLICE_THREADS, "Slice-Threading"}, + //{AV_CODEC_CAP_AUTO_THREADS, "Automatic-Threading"}, // Features {AV_CODEC_CAP_PARAM_CHANGE, "Dynamic Parameter Change"}, @@ -49,7 +49,7 @@ std::string ffmpeg::tools::translate_encoder_capabilities(int capabilities) {AV_CODEC_CAP_VARIABLE_FRAME_SIZE, "Variable Frame Size"}, {AV_CODEC_CAP_SMALL_LAST_FRAME, "Small Final Frame"}, //{AV_CODEC_CAP_DR1, "Uses get_buffer"}, - {AV_CODEC_CAP_DELAY, "Requires Flush"}, + //{AV_CODEC_CAP_DELAY, "Requires Flush"}, // Other {AV_CODEC_CAP_TRUNCATED, "Truncated"},