rtsprange: add method to convert ranges to GstClockTime
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 21 Nov 2012 14:29:59 +0000 (15:29 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 21 Nov 2012 14:35:46 +0000 (15:35 +0100)
commitfdf904db3281e24c62fd3924ef7fa8f5376df132
tree02fdf29e82bd4ae22e48f9691ca14487205204b6
parentf1669d7d9c6f2e736d6b2c1b1481bacad627a3a7
rtsprange: add method to convert ranges to GstClockTime

Add a method to convert the values of GstRTSPRange to GstClockTime.
Add unit tests for the conversions.

API: gst_rtsp_range_get_times()
gst-libs/gst/rtsp/gstrtsprange.c
gst-libs/gst/rtsp/gstrtsprange.h
tests/check/libs/rtsp.c