Igalia / chromium

Old repo. See https://crbug.com/578890 instead.

Home Page:https://chromium.googlesource.com/chromium/src.git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails when vaapi sources are included

qnixsynapse opened this issue · comments

I'm using the official patch and when compiling with ozone flags fails at the final linking:

../../media/gpu/vaapi/vaapi_picture_factory.cc:74: error: undefined reference to 'media::VaapiPictureNativePixmapOzone::VaapiPictureNativePixmapOzone(scoped_refptr<media::VaapiWrapper> const&, base::RepeatingCallback<bool ()> const&, base::RepeatingCallback<bool (unsigned int, unsigned int, scoped_refptr<gl::GLImage> const&, bool)> const&, int, gfx::Size const&, unsigned int, unsigned int, unsigned int)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Edit : Tried also without the patch but used "use_vaapi=true" resulted in the same error.
I tried hard to find out the root cause and failed. If anyone can help me out with this.
Thanks in advance.

sorry, we haven't used vaapi with ozone. Can you share a link to the patch you used?

@msisov I am using this chromium/chromium@31225b9

with use_vaapi=true flag.

We haven't tried with vaapi, but let me try

@msisov Thank you very much 👍 :)

I added a patch to be able to build with it, but haven't tested the functionality. feel free to ping if anything