vtenc_h264 ignores 'quality' setting
Submitted by Denis
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);
gst_vtenc_session_configure_property_double (self, session,
which will also remove redundant lock on self if gst_vtenc_set_quality is called. Diff file attached.