vaapi decoded video doesn't display correctly in glimagesink
When running the following pipeline:
gst-launch-1.0 -vvv videotestsrc ! vaapih264enc ! vaapih264dec ! glimagesink
the resulting video looks like this:
It's the same result for vaapih265dec, vaapivp8dec, and vaapivp9dec.
Other sinks, such as vaapisink and xvimagesink, render correctly.
I get the same problem in an OpenGL app using an appsink like this: vaapih264dec ! glupload ! appsink
.
The pipeline is negotiating video/x-raw(meta:GstVideoGLTextureUploadMeta)
between the decoder and the glupload.
Happening with:
- Fedora 32 64bit
- gstreamer1-1.16.2-2
- gstreamer1-vaapi-1.16.2-1
- libva-intel-driver-2.4.0-3
Was not a problem previously on Fedora 30 with:
- gstreamer1-1.16.0-1
- gstreamer1-vaapi-1.16.0-1
- libva-intel-driver-2.4.0-1