mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
Fix return value.
This commit is contained in:
parent
5d44dace53
commit
62df0f9b1c
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ gst_vaapisink_ensure_display(GstVaapiSink *sink)
|
|||
if (!sink->display) {
|
||||
sink->display = gst_vaapi_display_x11_new(sink->display_name);
|
||||
if (!sink->display || !gst_vaapi_display_get_display(sink->display))
|
||||
return NULL;
|
||||
return FALSE;
|
||||
}
|
||||
return sink->display != NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue