video: Fix encoding support indication under some profiles
Currently, MPEG2, VC1, VP9, etc don't support encoding, but incorrectly
indicate that they do. Fix and simplify judgement logic by introducing
is_supported()
function.
Signed-off-by: Feng Jiang jiangfeng@kylinos.cn