commit | 71da1354d7ce836af5081b109e1487b32348f7f4 | [log] [tgz] |
---|---|---|
author | Boyuan Zhang <boyuan.zhang@amd.com> | Thu Jul 21 19:40:21 2016 -0400 |
committer | Christian König <christian.koenig@amd.com> | Mon Jul 25 13:39:53 2016 +0200 |
tree | 9e440fa00e92b248a19ac2b8427f0202fd477b9e | |
parent | 10dec2de2d9f568675d66d736b48701fa26f7b50 [diff] |
st/va: add function to handle misc param type frame rate Frame rate can be passed to driver either through VAEncSequenceParameterBufferType or VAEncMiscParameterTypeFrameRate. Previous code only implement the former one, which is used by Gstreamer-Vaapi. Now adding implementation for VAEncMiscParameterTypeFrameRate. Also adding default frame rate as 30 just in case application never provides frame rate information to driver. Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>