Commit 5b55041b authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐 Committed by Nicolas Dufresne

omxh265: update 422 profile names

h265parse is gaining support for the format range extension profile
(bgo#793876).
Use the profile names defined in h265parse.

https://bugzilla.gnome.org/show_bug.cgi?id=793928
parent 4e9dca07
......@@ -568,10 +568,10 @@ gst_omx_h265_enc_get_caps (GstOMXVideoEnc * enc, GstOMXPort * port,
profile = "main-still-picture";
break;
case OMX_ALG_VIDEO_HEVCProfileMain422:
profile = "main422";
profile = "main-422";
break;
case OMX_ALG_VIDEO_HEVCProfileMain422_10:
profile = "main422-10";
profile = "main-422-10";
break;
#endif
default:
......
......@@ -35,9 +35,10 @@ gst_omx_h265_utils_get_profile_from_str (const gchar * profile)
#ifdef USE_OMX_TARGET_ZYNQ_USCALE_PLUS
} else if (g_str_equal (profile, "main-still-picture")) {
return (OMX_VIDEO_HEVCPROFILETYPE) OMX_ALG_VIDEO_HEVCProfileMainStill;
} else if (g_str_equal (profile, "main422")) {
} else if (g_str_equal (profile, "main-422")) {
/* Not standard: 8 bits variation of main-422-10 */
return (OMX_VIDEO_HEVCPROFILETYPE) OMX_ALG_VIDEO_HEVCProfileMain422;
} else if (g_str_equal (profile, "main422-10")) {
} else if (g_str_equal (profile, "main-422-10")) {
return (OMX_VIDEO_HEVCPROFILETYPE) OMX_ALG_VIDEO_HEVCProfileMain422_10;
#endif
}
......
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