<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1490204779607_3935"><span>Thomas,</span></div><div id="yui_3_16_0_ym19_1_1490204779607_3935"><span><br></span></div><div id="yui_3_16_0_ym19_1_1490204779607_3935"><span id="yui_3_16_0_ym19_1_1490204779607_4131">Will this address the GPU issue we talked earlier? I sent you 2 sample files over a week ago. I got a bounce back email saying it needed moderator approval and then nothing after that so I'm not sure if you received those sample files.</span></div><div id="yui_3_16_0_ym19_1_1490204779607_3935"><span><br></span></div><div id="yui_3_16_0_ym19_1_1490204779607_3935"><span>-Tommy</span></div><div id="yui_3_16_0_ym19_1_1490204779607_3935"><span><br></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, March 22, 2017 9:38 AM, Thomas Guillem <git@videolan.org> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div dir="ltr">vlc-android | branch: master | Thomas Guillem <<a ymailto="mailto:thomas@gllm.fr" href="mailto:thomas@gllm.fr">thomas@gllm.fr</a>> | Wed Mar 22 17:36:38 2017 +0100| [8082f750420a6ea735f9e9c325c9ba0dfd54c541] | committer: Thomas Guillem<br></div><div dir="ltr"><br></div><div dir="ltr">LibVLC: allow to force hw accel on unknow devices<br></div><div dir="ltr"><br></div><div dir="ltr">Mainly for 4.2.x devices when the user asked for it.<br></div><div dir="ltr"><br></div><div dir="ltr">> <a href="https://code.videolan.org/videolan/vlc-android/commit/8082f750420a6ea735f9e9c325c9ba0dfd54c541" target="_blank">https://code.videolan.org/videolan/vlc-android/commit/8082f750420a6ea735f9e9c325c9ba0dfd54c541</a><br></div><div dir="ltr">---<br></div><div dir="ltr"><br></div><div dir="ltr"> libvlc/src/org/videolan/libvlc/Media.java | 9 ++++++---<br></div><div dir="ltr"> 1 file changed, 6 insertions(+), 3 deletions(-)<br></div><div dir="ltr"><br></div><div dir="ltr">diff --git a/libvlc/src/org/videolan/libvlc/Media.java b/libvlc/src/org/videolan/libvlc/Media.java<br></div><div dir="ltr">index 5a48be5..358a8f4 100644<br></div><div dir="ltr">--- a/libvlc/src/org/videolan/libvlc/Media.java<br></div><div dir="ltr">+++ b/libvlc/src/org/videolan/libvlc/Media.java<br></div><div dir="ltr">@@ -735,12 +735,15 @@ public class Media extends VLCObject<Media.Event> {<br></div><div dir="ltr"> * @param force force hw acceleration even for unknown devices<br></div><div dir="ltr"> */<br></div><div dir="ltr"> public void setHWDecoderEnabled(boolean enabled, boolean force) {<br></div><div dir="ltr">- final HWDecoderUtil.Decoder decoder = enabled ?<br></div><div dir="ltr">+ HWDecoderUtil.Decoder decoder = enabled ?<br></div><div dir="ltr"> HWDecoderUtil.getDecoderFromDevice() :<br></div><div dir="ltr"> HWDecoderUtil.Decoder.NONE;<br></div><div dir="ltr"> <br></div><div dir="ltr">- if (decoder == HWDecoderUtil.Decoder.NONE ||<br></div><div dir="ltr">- (decoder == HWDecoderUtil.Decoder.UNKNOWN && !force)) {<br></div><div dir="ltr">+ /* Unknown device but the user asked for hardware acceleration */<br></div><div dir="ltr">+ if (decoder == HWDecoderUtil.Decoder.UNKNOWN && force)<br></div><div dir="ltr">+ decoder = HWDecoderUtil.Decoder.ALL;<br></div><div dir="ltr">+<br></div><div dir="ltr">+ if (decoder == HWDecoderUtil.Decoder.NONE || decoder == HWDecoderUtil.Decoder.UNKNOWN) {<br></div><div dir="ltr"> addOption(":codec=all");<br></div><div dir="ltr"> return;<br></div><div dir="ltr"> }<br></div><div dir="ltr"><br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">Android mailing list<br></div><div dir="ltr"><a ymailto="mailto:Android@videolan.org" href="mailto:Android@videolan.org">Android@videolan.org</a><br></div><div dir="ltr"><a href="https://mailman.videolan.org/listinfo/android" target="_blank">https://mailman.videolan.org/listinfo/android</a><br></div><br><br></div> </div> </div> </div></div></body></html>