[vlc-commits] mediacodec: rework hw-accel strings

Thomas Guillem git at videolan.org
Mon Apr 23 17:31:07 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Apr 23 17:22:32 2018 +0200| [6c785d5a4c2ca215196072ffd19160722ab8ee2a] | committer: Thomas Guillem

mediacodec: rework hw-accel strings

Rename it to "hardware acceleration" that is way more common and remove the
LONGTEXT that was useless.

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

 modules/codec/omxil/mediacodec.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index a5650b2d6e..1a85452fae 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -166,8 +166,7 @@ static void RemoveInflightPictures(decoder_t *);
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/
-#define MEDIACODEC_ENABLE_TEXT N_("Enable Hardware decoder")
-#define MEDIACODEC_ENABLE_LONGTEXT N_("Use MediaCodec for hardware-accelerated video decoding")
+#define MEDIACODEC_ENABLE_TEXT N_("Enable hardware acceleration")
 
 #define DIRECTRENDERING_TEXT "Android direct rendering"
 #define DIRECTRENDERING_LONGTEXT \
@@ -186,8 +185,7 @@ vlc_module_begin ()
     set_subcategory(SUBCAT_INPUT_VCODEC)
     set_section(N_("Decoding"), NULL)
     set_capability("video decoder", 800)
-    add_bool("mediacodec", true, MEDIACODEC_ENABLE_TEXT,
-             MEDIACODEC_ENABLE_LONGTEXT, false)
+    add_bool("mediacodec", true, MEDIACODEC_ENABLE_TEXT, NULL, false)
     add_bool(CFG_PREFIX "dr", true,
              DIRECTRENDERING_TEXT, DIRECTRENDERING_LONGTEXT, true)
     add_bool(CFG_PREFIX "audio", false,



More information about the vlc-commits mailing list