projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40212aa
)
amc: Do not skip decoders that have no profile levels
author
Xavier Claessens
<xavier.claessens@collabora.com>
Mon, 26 Aug 2019 18:53:39 +0000
(14:53 -0400)
committer
Matthew Waters
<matthew@centricular.com>
Tue, 27 Aug 2019 02:23:41 +0000
(
02:23
+0000)
sys/androidmedia/gstamc.c
patch
|
blob
|
history
diff --git
a/sys/androidmedia/gstamc.c
b/sys/androidmedia/gstamc.c
index
b2818e2
..
5e96fb2
100644
(file)
--- a/
sys/androidmedia/gstamc.c
+++ b/
sys/androidmedia/gstamc.c
@@
-313,8
+313,8
@@
scan_codecs (GstPlugin * plugin)
gst_codec_type->profile_levels =
gst_amc_codec_capabilities_handle_get_profile_levels (capabilities,
&gst_codec_type->n_profile_levels, &error);
- if (
!gst_codec_type->profile_levels
) {
- GST_ERROR ("Failed to get profile/levels
"
);
+ if (
error
) {
+ GST_ERROR ("Failed to get profile/levels
: %s", error->message
);
valid_codec = FALSE;
goto next_supported_type;
}