[Android] [PATCH 2/2] Replace HW acceleration option by a list allowing the user to choose which decoder to use.

Adrien Maglo magsoft at videolan.org
Fri Jan 17 14:45:10 CET 2014


On 17/01/2014 14:37, Felix Abecassis wrote:
> 2014/1/17 Adrien Maglo <magsoft at videolan.org>:
>> On 16/01/2014 12:28, Felix Abecassis wrote:
>>>
>>> diff --git a/vlc-android/res/values/strings.xml
>>> b/vlc-android/res/values/strings.xml
>>> index e7182e2..45a0c3a 100644
>>> --- a/vlc-android/res/values/strings.xml
>>> +++ b/vlc-android/res/values/strings.xml
>>> @@ -193,8 +193,8 @@
>>>        <string name="performance_prefs_category">Performance</string>
>>>        <string name="chroma_format">Force video chroma</string>
>>>        <string name="chroma_format_summary">RGB 32-bit: default chroma\nRGB
>>> 16-bit: better performance but lower quality\nYUV: best performance but does
>>> not work on all devices. Android 2.3 and later only.</string>
>>> -    <string name="enable_iomx">Hardware accelerated decoding</string>
>>> -    <string name="enable_iomx_summary">Improves performance, but may not
>>> work with all devices.</string>
>>> +    <string name="decoder_type">Decoder</string>
>>> +    <string name="decoder_type_summary">SW: better stability.\nHW:
>>> improve performance for large videos.\nHW+: improve performance
>>> further.</string>
>>
>>
>> I already told you on IRC but hardware decoding without direct rendering
>> does not necessary mean better performance with OMX or Mediacodec. I have
>> just experienced that with an Archos 101 on Android 2.2 and latest build.
>> IIRC, XilasZ experiences the same with a more recent device.
>
>   I can simply add "may".

Fine with me.

Best regards,


-- 
MagSoft



More information about the Android mailing list