vtenc_h264 ignores 'quality' setting
Submitted by Denis
Link to original bug (#742757)
Description
I’ve found an issue in the vtenc.c when the ‘quality’ setting doesn’t get set for the VTCompressionSession object because self->session is not yet set within the gst_vtenc_create_session(). The fix is to replace
gst_vtenc_set_quality (self, self->quality);
with
gst_vtenc_session_configure_property_double (self, session,
kVTCompressionPropertyKey_Quality, self->quality);
which will also remove redundant lock on self if gst_vtenc_set_quality is called. Diff file attached.
Version: 1.4.5