moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.49k stars 324 forks source link

Fix SPS length being 4 bytes short #746

Closed cgutman closed 5 years ago

cgutman commented 5 years ago

Description My previous fix had a bug that I didn't detect during my testing that was causing the SPS to be too short when submitting to the decoder. This cuts off the section of the bitstream restrictions that fixes the high video latency (which was the whole point of the fixups in the first place).

As a result, the fixup for latency is broken and the Pi's video latency is high which makes many games unplayable.

Very sorry for missing this in my first PR :(

Purpose Fix video latency on the Pi