mirror of
https://github.com/pion/mediadevices.git
synced 2025-10-24 00:53:09 +08:00

Previous reference frame update sequence was borrowed from an example in libva-utils, however the quality of the output was not good (block noised). This commit disables alternate frame and updates golden frame only on keyframe. It doesn't enable full referencing feature of VP8, but ffmpeg vaapi encoder looks also not fully using golden frame and alternate frame.