mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
Fix return value on error.
This commit is contained in:
parent
a91206bbc1
commit
358be3dda9
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ gst_vaapi_object_get_display(GstVaapiObject *object)
|
|||
GstVaapiID
|
||||
gst_vaapi_object_get_id(GstVaapiObject *object)
|
||||
{
|
||||
g_return_val_if_fail(GST_VAAPI_IS_OBJECT(object), NULL);
|
||||
g_return_val_if_fail(GST_VAAPI_IS_OBJECT(object), VA_INVALID_ID);
|
||||
|
||||
return object->priv->id;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue