GNOME Bugzilla – Bug 702084
rtsp-media: UTC ranges in RTSP PLAY response
Last modified: 2014-02-25 22:28:33 UTC
Created attachment 246611 [details] [review] media: convert_range replaces get_range_times My patch for Bug #701191 didn't handle RTSP UTC ranges completely. get_range_times() worked for handling UTC ranges for seeks, but we also need to convert back from NPT to the requested unit in gst_rtsp_media_get_range_string(), for the PLAY response. In the attached suggested patch, get_range_times() is replaced by convert_range(), which is overridable and used for converting both ways. Problems with UTC are avoided by converting to NPT before seeks.
commit 6151072a2ebc35988c25e0c88af563c0bab40e90 Author: David Svensson Fors <davidsf@axis.com> Date: Wed Jun 5 15:49:45 2013 +0200 media: convert_range replaces get_range_times get_range_times worked for handling UTC ranges for seeks, but we also need to convert back from NPT to the requested unit in get_range_string. convert_range is now used for both. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702084