diff options
author | Scott D Phillips <scott.d.phillips@intel.com> | 2016-06-22 14:28:44 -0700 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-06-23 12:28:50 +0200 |
commit | 4aec5bdd7207fc0e45813ef14c9c0ad5174a8f75 (patch) | |
tree | 253e293b3782396f51789ff28cb2ae244159021d | |
parent | 55e244817dd1d62880a8248e6969a741614af872 (diff) |
encoder: h264: Use high profile by default
Change defaults for max-bframes, cabac, and dct8x8 to be enabled
by default. This will cause the default profile to be high instead
of baseline. In most situations this is the right decision, and
the profile can still be lowered in the case of caps restrictions.
Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=757941
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiencoder_h264.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_h264.c b/gst-libs/gst/vaapi/gstvaapiencoder_h264.c index eaafd55c..8c06d2f2 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_h264.c +++ b/gst-libs/gst/vaapi/gstvaapiencoder_h264.c @@ -3031,7 +3031,7 @@ gst_vaapi_encoder_h264_get_default_properties (void) GST_VAAPI_ENCODER_PROPERTIES_APPEND (props, GST_VAAPI_ENCODER_H264_PROP_MAX_BFRAMES, g_param_spec_uint ("max-bframes", - "Max B-Frames", "Number of B-frames between I and P", 0, 10, 0, + "Max B-Frames", "Number of B-frames between I and P", 0, 10, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** @@ -3080,7 +3080,7 @@ gst_vaapi_encoder_h264_get_default_properties (void) g_param_spec_boolean ("cabac", "Enable CABAC", "Enable CABAC entropy coding mode", - FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** * GstVaapiEncoderH264:dct8x8: @@ -3094,7 +3094,7 @@ gst_vaapi_encoder_h264_get_default_properties (void) g_param_spec_boolean ("dct8x8", "Enable 8x8 DCT", "Enable adaptive use of 8x8 transforms in I-frames", - FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** * GstVaapiEncoderH264:cpb-length: |