vaapiencode: gobject's prop_id differ from vaapi encoder
The vaapi internal encoder's property id are negative, thus they are different from GObject's property ids. gst_vaapi_encoder_set_property() should map to the internal encoder property id, assigned in gst_vaapiencode_default_set_property().
This commit is contained in:
parent
29d42e1600
commit
acf10ce164
@ -181,7 +181,7 @@ gst_vaapiencode_default_set_property (GstVaapiEncode * encode, guint prop_id,
|
||||
g_value_copy (value, &prop_value->value);
|
||||
|
||||
if (encoder)
|
||||
return (gst_vaapi_encoder_set_property (encoder, prop_id,
|
||||
return (gst_vaapi_encoder_set_property (encoder, prop_value->id,
|
||||
value) == GST_VAAPI_ENCODER_STATUS_SUCCESS);
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user