Merge "mm-video-v4l2: venc: fix the condition to reset the number of BFrames"