[vlc-devel] [PATCH] mediacodec: no software rendering before api 18
edward.c.wang at compdigitec.com
Wed Oct 22 21:11:17 CEST 2014
Le 22 octobre 2014 10:37:07 HAP, "Martin Storsjö" <martin at martin.st> a écrit :
>On Wed, 22 Oct 2014, Thomas Guillem wrote:
>> Avoid crashes by rendering unknown YUV buffers since "color-format"
>> trusted before api 18.
>> modules/codec/omxil/android_mediacodec.c | 9 ++++++++-
>> 1 file changed, 8 insertions(+), 1 deletion(-)
>Why should we disallow this completely? It works just fine on a number
>devices. Sure, not reliable across untested devices, but that's why we
>have the device whitelist so we don't enable it automatically on random
>devices, so it's only a problem if you intentionally enable the option.
I agree with Martin here, especially after considering the presence of the whitelist.
More information about the vlc-devel