Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a503cf8 authored by JerryHsu's avatar JerryHsu Committed by Xiao Huang
Browse files

C2Config: correct declaration of tunnel-peek mode

Misuse C2EasyEnum on the delcaration of C2StreamTunnelPeekModeTuning.
Should use C2SimpleValueStruct with C2EasyEnum.

Bug: 264485647

Change-Id: Idd10af02ddbcc8b89358e70e0eda5c660dbf0d2b
parent 128a9179
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2503,7 +2503,8 @@ C2ENUM(C2PlatformConfig::tunnel_peek_mode_t, uint32_t,
 * Note: This parameter allows a decoder to ignore the video peek machinery and
 * to revert to its preferred behavior.
 */
typedef C2StreamParam<C2Tuning, C2EasyEnum<C2PlatformConfig::tunnel_peek_mode_t>,
typedef C2StreamParam<C2Tuning,
        C2SimpleValueStruct<C2EasyEnum<C2PlatformConfig::tunnel_peek_mode_t>>,
        kParamIndexTunnelPeekMode> C2StreamTunnelPeekModeTuning;
constexpr char C2_PARAMKEY_TUNNEL_PEEK_MODE[] =
        "output.tunnel-peek-mode";