test: vaapicontext: app context is not persistent

This commit is contained in:
Víctor Manuel Jáquez Leal 2017-11-29 18:29:45 +01:00
parent 8f5933cd80
commit 4d29f4c8c4

View file

@ -110,7 +110,7 @@ create_vaapi_app_display_context (AppData * app, gboolean new_va_display)
else
va_display = ensure_va_display (app);
context = gst_context_new ("gst.vaapi.app.Display", TRUE);
context = gst_context_new ("gst.vaapi.app.Display", FALSE);
s = gst_context_writable_structure (context);
gst_structure_set (s, "va-display", G_TYPE_POINTER, va_display, NULL);
gst_structure_set (s, "x11-display", G_TYPE_POINTER, x11_display, NULL);