GNOME Bugzilla – Bug 684411
rtsp: range in SDP formatted according to locale
Last modified: 2012-10-12 23:54:35 UTC
When using a locale where decimal separator is not "." but ",", range is reported incorrectly which causes RTSP-streams to be non-seekable. Example with danish locale: a=range:npt=0,000000-5263,319000 When changed to US it outputs the following (correctly): a=range:npt=0.000000-5263.319000
Created attachment 224830 [details] [review] rtsprange: fix creating and parsing range floating-point
commit please
Pushed patch in slightly modified form, so that we accept floating point values with a comma as well now, in case the other side is buggy. commit 336842d35cf7e5d68c7f71d961d1fff8c19d49e9 Author: Tim-Philipp Müller <tim@centricular.net> Date: Thu Sep 20 01:07:08 2012 +0100 rtsprange: fix formatting and parsing of range floating-point values Other locales might use a comma instead of a floating point for floats, which might lead to parsing errors. https://bugzilla.gnome.org/show_bug.cgi?id=684411