- typo fixed,
- use AV_OPT_TYPE_VIDEO_RATE for frame_rate parameter.