The validity check basically is invloved with profile, level, video_size, bitrate and framerate.
In AVC encoding, each profile+level specifies the constraints of maximum video_size, framerate and bitrate that a decoder may use.
https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels
We need to add validity check in VideoEncodeAccelerator implementation on each parameter change request to avoid invalid setting for demanding profile+level.
Comment 1 by johnylin@chromium.org
, Aug 7