lavc/qsvenc: add an option to set h264 pps for every frame
authorZhong Li <zhong.li@intel.com>
Thu, 25 Oct 2018 11:14:16 +0000 (19:14 +0800)
committerZhong Li <zhong.li@intel.com>
Fri, 7 Dec 2018 09:13:36 +0000 (17:13 +0800)
commitc9f0cff5efd8096caf8a6fa37b0640abddcde8e8
tree7874eaccd453fcb2a60fcb0d6fa53d00bdd89ca0
parentc4a4cfa7628b0b958b7406012d7cfe1e11f1ca10
lavc/qsvenc: add an option to set h264 pps for every frame

RepeatPPS is enabled by default in mfx. It is not necessary mostly and
wasting encoding bits.
Add an option to control it and disable it by default.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Zhong Li <zhong.li@intel.com>
libavcodec/qsvenc.c
libavcodec/qsvenc.h
libavcodec/qsvenc_h264.c
libavcodec/version.h