mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
vaapisink: fix build without VA/GLX support.
This commit is contained in:
parent
e712abba11
commit
bbd7a130e2
1 changed files with 2 additions and 0 deletions
|
@ -253,7 +253,9 @@ static void
|
|||
gst_vaapisink_destroy(GstVaapiSink *sink)
|
||||
{
|
||||
gst_buffer_replace(&sink->video_buffer, NULL);
|
||||
#if USE_GLX
|
||||
gst_vaapi_texture_replace(&sink->texture, NULL);
|
||||
#endif
|
||||
gst_vaapi_display_replace(&sink->display, NULL);
|
||||
g_clear_object(&sink->uploader);
|
||||
|
||||
|
|
Loading…
Reference in a new issue