Explicitly define float constants as float
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 27 Oct 2016 03:41:26 +0000 (09:11 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 27 Oct 2016 17:36:26 +0000 (23:06 +0530)
commitf7908637554ff5f8ce60938e9c56962644ea71d3
treeac0067cde75a1ea83fc6bbea6fe2b221e1e68f19
parent83df90ed6c75dc387915366ce547f08649e60cde
Explicitly define float constants as float

With MSVC, this gives the following warning:

warning C4305: 'function': truncation from 'double' to 'gfloat'

Apparently, MSVC does not figure out what type to use for constants
based on the assignment. This warning is very spammy, so let's try to
fix it.
ext/dash/gstdashdemux.c
ext/gl/gstgltransformation.c
gst-libs/gst/adaptivedemux/gstadaptivedemux.c
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstglviewconvert.c
gst/fieldanalysis/gstfieldanalysis.c
gst/freeverb/gstfreeverb.c
gst/gaudieffects/gstgaussblur.c
gst/speed/gstspeed.c
gst/stereo/gststereo.c