mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
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
This commit is contained in:
parent
4e9dca0761
commit
5b55041bb4
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue