Commit 06e37373 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

mediacodec/omxil: blacklist samsung VP8 decoder

Fixes #14227
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1048c3a1
...@@ -397,6 +397,8 @@ static bool codec_is_blacklisted( const char *p_name, unsigned int i_name_len ) ...@@ -397,6 +397,8 @@ static bool codec_is_blacklisted( const char *p_name, unsigned int i_name_len )
"OMX.google.", "OMX.google.",
/* crashes mediaserver */ /* crashes mediaserver */
"OMX.MTK.VIDEO.DECODER.MPEG4", "OMX.MTK.VIDEO.DECODER.MPEG4",
/* Not working or crashing (Samsung) */
"OMX.SEC.vp8.dec",
NULL, NULL,
}; };
......
...@@ -1141,6 +1141,9 @@ static int OpenGeneric( vlc_object_t *p_this, bool b_encode ) ...@@ -1141,6 +1141,9 @@ static int OpenGeneric( vlc_object_t *p_this, bool b_encode )
* it until we can make it work properly. */ * it until we can make it work properly. */
if (!strcmp(p_sys->ppsz_components[i], "OMX.Nvidia.vc1.decode")) if (!strcmp(p_sys->ppsz_components[i], "OMX.Nvidia.vc1.decode"))
continue; continue;
/* This codec doesn't work or crashes */
if (!strcmp(p_sys->ppsz_components[i], "OMX.SEC.vp8.dec"))
continue;
#endif #endif
omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i], omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
&p_sys->omx_handle); &p_sys->omx_handle);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment