[Android] LibVLC: Media: fix hardware decoder variable name

Thomas Guillem git at videolan.org
Wed Jan 22 14:18:04 CET 2020


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 22 14:17:19 2020 +0100| [e662cde7d508436bc62058802d464a3b921ff8a3] | committer: Thomas Guillem

LibVLC: Media: fix hardware decoder variable name

It has been renamed (again) in VLC 4.0.

> https://code.videolan.org/videolan/vlc-android/commit/e662cde7d508436bc62058802d464a3b921ff8a3
---

 libvlc/src/org/videolan/libvlc/Media.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvlc/src/org/videolan/libvlc/Media.java b/libvlc/src/org/videolan/libvlc/Media.java
index 8f9301f50..1cbd25163 100644
--- a/libvlc/src/org/videolan/libvlc/Media.java
+++ b/libvlc/src/org/videolan/libvlc/Media.java
@@ -488,7 +488,7 @@ public class Media extends VLCObject<IMedia.Event> implements IMedia {
             addOption(sb.toString());
         }
         else if (!enabled) /* LibVLC >= 4.0 */
-            addOption(":no-decoder-hw");
+            addOption(":no-hw-dec");
     }
 
     /**



More information about the Android mailing list