mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
amc: Do not skip decoders that have no profile levels
This commit is contained in:
parent
40212aaf00
commit
121711e4ac
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue