rtpjpegdepay: fix framerate parsing for locales that use a comma as floating point
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 29 Dec 2010 14:40:05 +0000 (14:40 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 29 Dec 2010 14:59:30 +0000 (14:59 +0000)
commitfafd0b7bc35f60d077fc3bc1287454778619d7ca
tree100d7ac7a89f5d69eb635df0fb14b7a2de1a7aa3
parentb5647685c4688836581cf3bde925051f0a378987
rtpjpegdepay: fix framerate parsing for locales that use a comma as floating point

atof() converts strings according to the current locale, but the
framerate string will likely always use a dot as floating point
separator, so use g_ascii_strtod() instead (but also canonicalise
the string before, so we can handle both formats as input).
gst/rtp/gstrtpjpegdepay.c