Revert "vaapivideomemory: Store surface allocation flags."

This reverts commit dd428cc4a1 because
it rewrites the buffer size whilst surface allocation flags are
stored when allocator_params_init() is called since fab890ce.

Fix: #239
This commit is contained in:
Víctor Manuel Jáquez Leal 2020-02-28 11:33:18 +01:00
parent fab890ceb5
commit 164656ee1d

View file

@ -992,9 +992,6 @@ gst_vaapi_video_allocator_new (GstVaapiDisplay * display,
return NULL;
}
gst_allocator_set_vaapi_video_info (GST_ALLOCATOR_CAST (allocator),
alloc_info, surface_alloc_flags);
return GST_ALLOCATOR_CAST (allocator);
}