included support for PREFER_RGB_OVER_YUV and PREFER_NON_COMPRESSED ...

included support for PREFER_RGB_OVER_YUV and PREFER_NON_COMPRESSED defines when framerate is specified.
Addresses issue #1822