Revert "codec-utils: Handle the two rext profiles for h265"

This reverts commit 19b9356680.

These two "profiles" are actually a complete set of profiles, which we will
need to handle separately. Unfortunately it seems like we need information
from the SPS to detect the exact profile.
This commit is contained in:
Sebastian Dröge 2015-02-16 09:48:03 +02:00
parent 6af7b70162
commit 11c126363f

View file

@ -704,18 +704,9 @@ gst_codec_utils_h265_get_profile (const guint8 * profile_tier_level, guint len)
profile = "main-10";
else if (profile_idc == 3 || gpcf3)
profile = "main-still-picture";
else if (profile_idc == 4)
profile = "main-rext";
else if (profile_idc == 5)
profile = "high-throughput-rext";
else
profile = NULL;
/* FIXME: Check against the spec, especially for the rext formats. These
* values are from x265, but x265 also checks the chroma and bit depth
* fields of the SPS to decide on the profile.
*/
return profile;
}