intel / libyami

Yet Another Media Infrastructure. it is core part of media codec with hardware acceleration, it is yummy to your video experience on Linux like platform.
Apache License 2.0
146 stars 106 forks source link

I can't build the yami-apache with libva2.00 #828

Closed waiter89 closed 6 years ago

waiter89 commented 6 years ago

vaapipostprocess_scaler.cpp: In member function ‘virtual YamiStatus YamiMediaCodec::VaapiPostProcessScaler::process(const std::shared_ptr&, const std::shared_ptr&)’: vaapipostprocess_scaler.cpp:129:15: error: ‘VAProcPipelineParameterBuffer {aka struct _VAProcPipelineParameterBuffer}’ has no member named ‘rotation_state’ vppParam->rotation_state = mapToVARotationState(m_transform); ^~~~~~ make[2]: *** [Makefile:706:libyami_vpp_la-vaapipostprocess_scaler.lo] 错误 1

I think it may be wrong of the version of libva ? Please make sure it can be build in all of version of libva?!

waiter89 commented 6 years ago

请加入判断宏来区分va版本,从而兼容不同va版本

xuguangxin commented 6 years ago

Hi @waiter89 , @uartie 's patch added the macro you mentioned. Does it fix your issue?