[vlc-commits] videotoolbox: clarify message and remove redundant info

Marvin Scholz git at videolan.org
Fri Jul 3 13:51:43 CEST 2020


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Jul  3 02:44:56 2020 +0200| [248f907de6c23341669401c4de2cfa46f4692ad7] | committer: Marvin Scholz

videotoolbox: clarify message and remove redundant info

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=248f907de6c23341669401c4de2cfa46f4692ad7
---

 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[] =
     {



More information about the vlc-commits mailing list