[vlc-devel] [PATCH 07/14] videotoolbox: clarify message and remove redundant info
Marvin Scholz
epirat07 at gmail.com
Fri Jul 3 04:27:37 CEST 2020
Now that there is a list used for the possible pixel format values,
there is no need to list them in the long text anymore.
---
modules/codec/videotoolbox.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/modules/codec/videotoolbox.c b/modules/codec/videotoolbox.c
index 350ecb31c2..31d71a1baf 100644
--- a/modules/codec/videotoolbox.c
+++ b/modules/codec/videotoolbox.c
@@ -59,9 +59,10 @@ static int OpenDecDevice(vlc_decoder_device *device, vout_window_t *window);
#define VT_ENABLE_TEXT N_("Enable hardware acceleration")
#define VT_REQUIRE_HW_DEC N_("Use Hardware decoders only")
-#define VT_FORCE_CVPX_CHROMA "Force the VT decoder CVPX chroma"
-#define VT_FORCE_CVPX_CHROMA_LONG "Values can be 'BGRA', 'y420', '420f', '420v', '2vuy'. \
- By Default, the best chroma is choosen by the VT decoder."
+#define VT_FORCE_CVPX_CHROMA "Force the VideoToolbox output chroma"
+#define VT_FORCE_CVPX_CHROMA_LONG "Force the VideoToolbox decoder to output \
+ CVPixelBuffers in the specified pixel format instead of the default. \
+ By Default, the best chroma is choosen by the VideoToolbox decoder."
static const char *const chroma_list_values[] =
{
--
2.24.3 (Apple Git-128)
More information about the vlc-devel
mailing list