[cmake]: enable fast play once in android

Signed-off-by: Grey Li <grey.li@rock-chips.com>
Change-Id: I5e993f3652eab6ba03e0f549573f5bcd2f1981ec
This commit is contained in:
Grey Li 2023-03-10 17:20:37 +08:00
parent fe529b520b
commit 3498fffb8a

View file

@ -38,7 +38,7 @@ if( ENABLE_H264D )
add_definitions(-DHAVE_H264D)
endif()
option(ENABLE_FASTPLAY_ONCE "Enable h.264 decoder fast play once" OFF)
if( ENABLE_FASTPLAY_ONCE )
if( ENABLE_FASTPLAY_ONCE OR ANDROID)
add_definitions(-DENABLE_FASTPLAY_ONCE)
endif()