On Thu, 2013-01-24 at 23:18 -0700, Timo Rothenpieler wrote: > No, i made sure both use the same display and also validated it by > printing it. > > For me this seems like there's some code missing to initialize the bo if > it's missing, like the VideoProcessor seems to use, but when i tried to > add some, i just got a green video again.
Hi, From the tracelog it seems that both the decoding and encoding call the function of vaInitialize, which will initialize the different display context for decoding and encoding. In such case the surface ID can't be shared correctly between decoding/encoding. Will you please also call the vaInitialize only once for decoding/encoding and then see whether it is helpful? Best regards. Yakui > > > > > One of the parameters of vaCreateSurfaces() is a VA display, so a VA > > surface may only be valid to the specified VA display. Do the decoder > > and encoder use different VA displays in your app ? > > > > Thanks > > Haihao > > _______________________________________________ > Libva mailing list > Libva@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libva _______________________________________________ Libva mailing list Libva@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libva