mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
vaapisink: ensure VA display in GstBaseSink::start() hook.
This ensures a VA display is ready by the time upstream elements request for it.
This commit is contained in:
parent
c432e82e44
commit
0385750fa7
1 changed files with 3 additions and 1 deletions
|
@ -415,7 +415,9 @@ gst_vaapisink_ensure_window_xid(GstVaapiSink *sink, guintptr window_id)
|
|||
static gboolean
|
||||
gst_vaapisink_start(GstBaseSink *base_sink)
|
||||
{
|
||||
return TRUE;
|
||||
GstVaapiSink * const sink = GST_VAAPISINK(base_sink);
|
||||
|
||||
return gst_vaapi_ensure_display(sink, &sink->display);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue