mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue