[FFmpeg-devel] [PATCH] avdevice/avfoundation: add scaleFactor attribute for avfoundation

Moritz Barsnick barsnick at gmx.net
Fri Jul 28 13:23:02 EEST 2017


On Fri, Jul 28, 2017 at 15:55:01 +0800, sharpbai wrote:
> +    float           scaleFactor;

No camelCase in ffmpeg for plain variables.

> +    { "scaleFactor", "scale screen factor range", offsetof(AVFContext, scaleFactor), AV_OPT_TYPE_FLOAT, {.i64=1}, 0, 2, AV_OPT_FLAG_DECODING_PARAM },

No camelCase for ffmpeg options. And shouldn't that be "{.dbl=1}"?

Moritz


More information about the ffmpeg-devel mailing list