media: possibility to override range time conversion
authorDavid Svensson Fors <davidsf@axis.com>
Wed, 29 May 2013 11:45:00 +0000 (13:45 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 3 Jun 2013 12:29:05 +0000 (14:29 +0200)
commit7efa871c1f99b4a4e47a0d216bd76a09da89b731
treef02f62ed3ea804658e0f86777680996e63645a1a
parentc5b3066c3389105099646042f598eda1ddb2969c
media: possibility to override range time conversion

Make it possible to override the conversion from GstRTSPTimeRange to
GstClockTimes, that is done before seeking on the media
pipeline. Overriding can be useful for UTC ranges, where the default
conversion gives nanoseconds since 1900.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701191
gst/rtsp-server/rtsp-media.c
gst/rtsp-server/rtsp-media.h