VAAPI, squash me: Use exactly the same code for frame ref es in gstreamer