MediaCodec / mediacodec_set_venc_info() : fps parameter

MediaCodec / mediacodec_set_venc_info() : fps parameter

BY 08 Apr 2017 Native Application Development

Hi!

Trying to use codec to render frames.

I call:

    mediacodec_set_venc_info(mediacodec, image_width, image_height, FPS, 0);

I get:

    FPS parameter value is ignored and actual fps is always 30.

Who knows how to overcome it ?

Thanks!

Written by