<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Hello tommy,<br></div>
<div><br></div>
<div>This patch is not related to your issue. I didn't receive your samples.<br></div>
<div>This week, I'm working on improving mediacodec support, maybe this will fix your issue (but you should give me your samples just in case).<br></div>
<div><br></div>
<div>Regards,<br></div>
<div><br></div>
<div><br></div>
<div>On Wed, Mar 22, 2017, at 18:48, Tommy Tran wrote:<br></div>
<blockquote type="cite"><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px;"><div><span>Thomas,</span><br></div>
<div><span></span><br></div>
<div><span>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><br></div>
<div><span></span><br></div>
<div><span>-Tommy</span><br></div>
<div><span></span><br></div>
<div><div><br></div>
</div>
<div 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"><span class="font" style="font-family:Arial"><span class="size" style="font-size:small">On Wednesday, March 22, 2017 9:38 AM, Thomas Guillem <git@videolan.org> wrote:</span></span><br></div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">vlc-android | branch: master | Thomas Guillem <<a 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">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 href="mailto:Android@videolan.org">Android@videolan.org</a><br></div>
<div dir="ltr"><a href="https://mailman.videolan.org/listinfo/android">https://mailman.videolan.org/listinfo/android</a><br></div>
<div><br></div>
</div>
</div>
</div>
</div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>Android mailing list<br></div>
<div><a href="mailto:Android@videolan.org">Android@videolan.org</a><br></div>
<div><a href="https://mailman.videolan.org/listinfo/android">https://mailman.videolan.org/listinfo/android</a><br></div>
</blockquote><div><br></div>
</body>
</html>