va-android: same as X11, also always create a new VA display on android
Previously a VA display will be shared if a native display is shared by multiple threads,
it will casue some thread safety issue in a multi-threaded program.
Remove the global VADisplayContextP pDisplayContexts which is not thread safe
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Showing
Please register or sign in to comment