g_date_time_unref (datetime);
g_date_time_unref (prime_epoch);
} else {
+
+#ifdef TIZEN_FEATURE_RTSP_MODIFICATION
+ if (src->start_position != 0 && segment->position == 0) {
+ segment->position = src->start_position;
+ src->start_position = 0;
+ }
+#endif
range.unit = GST_RTSP_RANGE_NPT;
if (src->range && src->range->min.type == GST_RTSP_TIME_NOW) {
range.min.type = GST_RTSP_TIME_NOW;
} else {
+#ifdef TIZEN_FEATURE_RTSP_MODIFICATION
+ if (segment->position != 0)
+ begin_seconds = (gdouble) segment->position / GST_SECOND;
+#endif
range.min.type = GST_RTSP_TIME_SECONDS;
range.min.seconds = begin_seconds;
}