Commit cfdd5dcc authored by Loic Poulain's avatar Loic Poulain
Browse files

media: venus: venc: Fix framerate/frameinterval



Venus encoder driver reports supported frame intervals values as
FRAMERATE_FACTOR multiple. The frame interval numerator and
denominator need to be reported in the same way.

With current driver, the following values are reported:
FRAME_FACTOR = 65535
min-frameinterval = 65535 / 120
max-frameinterval = 65535 / 1

This causes userspace application (e.g gstreamer) failures because
of the wrong frame interval limits. Fix that.

Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
parent 0774fa46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment