avcodec/v4l2_m2m: fix setting frame period
authorMing Qian <ming.qian@nxp.com>
Tue, 17 Mar 2020 11:29:23 +0000 (19:29 +0800)
committerAndriy Gelman <andriy.gelman@gmail.com>
Tue, 31 Mar 2020 21:24:42 +0000 (17:24 -0400)
commitedee0d01048d26947053ca1657f11f65c21bd7bd
tree01616f240706328989f69907fcdb1b9e08649dfa
parent67de1865b1ee9e3616124b8fb6f1c34cba1b1d5f
avcodec/v4l2_m2m: fix setting frame period

Currently the driver's frame period is incorrectly set to the frame
rate. This is fixed in the commit.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
libavcodec/v4l2_m2m_enc.c