libs: encoder: correct encoder's ref/unref function.
GstVaapiEncoder now is a standard gstobject and need to use gst_object_ref/unref functions.
This commit is contained in:
parent
73ac0c4e50
commit
ea35de9914
@ -233,7 +233,7 @@ gst_vaapi_encoder_ensure_param_roi_regions (GstVaapiEncoder * encoder,
|
||||
GstVaapiEncoder *
|
||||
gst_vaapi_encoder_ref (GstVaapiEncoder * encoder)
|
||||
{
|
||||
return gst_vaapi_object_ref (encoder);
|
||||
return gst_object_ref (encoder);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -246,7 +246,7 @@ gst_vaapi_encoder_ref (GstVaapiEncoder * encoder)
|
||||
void
|
||||
gst_vaapi_encoder_unref (GstVaapiEncoder * encoder)
|
||||
{
|
||||
gst_vaapi_object_unref (encoder);
|
||||
gst_object_unref (encoder);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user