Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 20ad037

Browse files
luoying1234U1X6WK
authored andcommitted
Fix viewport change core dump issue in catchup mode in android (#36)
platform. Align max catchup video number in android player. Signed-off-by: Luo, Ying <[email protected]>
1 parent 5acad15 commit 20ad037

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/utils/data_type.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@
4242
extern "C" {
4343
#endif
4444

45+
#ifdef _LINUX_OS_
4546
#define OFFSET_VIDEO_ID_FOR_CATCHUP 10
47+
#endif
48+
#ifdef _ANDROID_OS_
49+
#define OFFSET_VIDEO_ID_FOR_CATCHUP 5
50+
#endif
4651
#define MAX_CAMERA_H_NUM 12
4752
#define MAX_CAMERA_V_NUM 1
4853

0 commit comments

Comments
 (0)