Hi,

I'm writing vaapi support for Qt Mobility (qtmultimediakit) using
gstreamer-vaapi (http://gitorious.org/vaapi/gstreamer-vaapi). I've
succeeded at playing a video decoded using vaapi on an OpenGl texture in my
Qt OpenGl scene. I'm having troubles though with playing multiple videos
(black frames, random data in some parts of the video... ).

Each video is being decoded using vaapi in its own thread. The vaapi
surfaces are transferred to an OpenGl texture
using gst_vaapi_texture_put_surface (= vaCopySurfaceGlx wrapper) in the
main thread. The OpenGl context used in the main thread of Qt is shared
with vaapi. Is this the right way to do this? Or could I
call vaCopySurfaceGlx in the respective decoding threads?


Best regards,

Christophe
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to