From 7f4f1cb91e771d20ec9cc06ce5d73c771a78a565 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 30 Apr 2019 19:47:40 -0700 Subject: [PATCH] Fix unintended assignment --- libgamestream/sps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgamestream/sps.c b/libgamestream/sps.c index 4f8dc76..2a96923 100644 --- a/libgamestream/sps.c +++ b/libgamestream/sps.c @@ -40,7 +40,7 @@ void gs_sps_fix(PLENTRY sps, int flags, uint8_t* out_buf, uint32_t* out_offset) // for known resolution combinations. Otherwise leave the profile alone (currently 5.0) if (initial_width == 1280 && initial_height == 720) h264_stream->sps->level_idc = 32; // Max 5 buffered frames at 1280x720x60 - else if (initial_width = 1920 && initial_height == 1080) + else if (initial_width == 1920 && initial_height == 1080) h264_stream->sps->level_idc = 42; // Max 4 buffered frames at 1920x1080x60 // Some decoders requires a reference frame count of 1 to decode successfully.