Add video support on Android

This commit is contained in:
Wojtek Figat
2024-05-15 23:39:10 +02:00
parent 82bf4238df
commit 1d6e8c4b7c
6 changed files with 631 additions and 1 deletions

View File

@@ -22,6 +22,9 @@
#if VIDEO_API_MF
#include "MF/VideoBackendMF.h"
#endif
#if VIDEO_API_ANDROID
#include "Android/VideoBackendAndroid.h"
#endif
#if VIDEO_API_PS4
#include "Platforms/PS4/Engine/Video/VideoBackendPS4.h"
#endif
@@ -220,6 +223,9 @@ bool Video::CreatePlayerBackend(const VideoBackendPlayerInfo& info, VideoBackend
#if VIDEO_API_MF
TRY_USE_BACKEND(VideoBackendMF);
#endif
#if VIDEO_API_ANDROID
TRY_USE_BACKEND(VideoBackendAndroid);
#endif
#if VIDEO_API_PS4
TRY_USE_BACKEND(VideoBackendPS4);
#endif