mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue