Tis patch, allows some properties that we want to be set on
runtime. (eg. bitrate)
Note that all properties are under control by num_codedbuf_queued.
https://bugzilla.gnome.org/show_bug.cgi?id=786321
const GValue * value)
{
PropValue *const prop_value = prop_value_lookup (encode, prop_id);
+ GstVaapiEncoder *encoder = encode->encoder;
if (prop_value) {
g_value_copy (value, &prop_value->value);
+
+ if (encoder)
+ return (gst_vaapi_encoder_set_property (encoder, prop_id,
+ value) == GST_VAAPI_ENCODER_STATUS_SUCCESS);
+
return TRUE;
}
+
return FALSE;
}