diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-06-01 20:03:22 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-06-01 20:03:22 +0200 |
commit | d221108857b1b0cc42b5c720b3c29e2fba795e8c (patch) | |
tree | f39d9dcda006b923d9c77e1cbcb2a255f09f9777 /sys | |
parent | bf07b52477b76bb10200f366f800a5bc1dc097ed (diff) | |
download | gstreamer-plugins-bad-d221108857b1b0cc42b5c720b3c29e2fba795e8c.tar.gz |
amc: Only lower ranks of OMX.Exynos. audio codecs, the video codecs are actually working
Diffstat (limited to 'sys')
-rw-r--r-- | sys/androidmedia/gstamc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/androidmedia/gstamc.c b/sys/androidmedia/gstamc.c index b68f3f0ad..0578d3ca1 100644 --- a/sys/androidmedia/gstamc.c +++ b/sys/androidmedia/gstamc.c @@ -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 |