mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
amc: Only lower ranks of OMX.Exynos. audio codecs, the video codecs are actually working
This commit is contained in:
parent
bf07b52477
commit
d221108857
1 changed files with 3 additions and 2 deletions
|
@ -3144,8 +3144,9 @@ register_codecs (GstPlugin * plugin)
|
|||
if (g_str_has_prefix (codec_info->name, "OMX.google") ||
|
||||
g_str_has_suffix (codec_info->name, ".sw.dec")) {
|
||||
rank = GST_RANK_SECONDARY;
|
||||
} else if (g_str_has_prefix (codec_info->name, "OMX.Exynos.")) {
|
||||
/* OMX.Exynos. codecs are existing on some devices like the
|
||||
} else if (g_str_has_prefix (codec_info->name, "OMX.Exynos.")
|
||||
&& !is_video) {
|
||||
/* OMX.Exynos. audio codecs are existing on some devices like the
|
||||
* Galaxy S5 mini, and cause random crashes (of the device,
|
||||
* not the app!) and generally misbehave. That specific device
|
||||
* has other codecs that work with a different name, but let's
|
||||
|
|
Loading…
Reference in a new issue