libobs: Add encode_texture2 function to struct obs_encoder_info

And use it if non-NULL instead of encode_texture.
This commit is contained in:
Internal Server Error - Gitea: Git with a cup of tea
500 Internal Server Error

Gitea Version: 1.28.0+dev-477-g8b6ad49a5f