if (!gst_vaapi_decoder_put_buffer(decoder, NULL))
g_error("could not send EOS to the decoder");
- proxy = gst_vaapi_decoder_get_surface(decoder, &status);
+ proxy = gst_vaapi_decoder_get_surface(decoder, &status, FALSE);
if (!proxy)
g_error("could not get decoded surface (decoder status %d)", status);