mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
encoder: h264: don't allow CABAC with Extended profile.
The H.264 specification does not support CABAC entropy coding for the Extended profile. https://bugzilla.gnome.org/show_bug.cgi?id=727418
This commit is contained in:
parent
dba440b164
commit
6df5c74081
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,7 @@ ensure_tuning_high_compression (GstVaapiEncoderH264 * encoder)
|
|||
profile_idc = encoder->max_profile_idc;
|
||||
|
||||
/* Tuning options to enable Main profile */
|
||||
if (profile_idc >= 77) {
|
||||
if (profile_idc >= 77 && profile_idc != 88) {
|
||||
encoder->use_cabac = TRUE;
|
||||
if (!encoder->num_bframes)
|
||||
encoder->num_bframes = 1;
|
||||
|
|
Loading…
Reference in a new issue