Merge remote-tracking branch 'origin/0.10'
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 29 Mar 2012 13:12:21 +0000 (15:12 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 29 Mar 2012 13:12:21 +0000 (15:12 +0200)
Conflicts:
gst/rtsp-server/rtsp-session-pool.c

1  2 
gst/rtsp-server/rtsp-session-pool.c

@@@ -476,8 -476,15 +476,11 @@@ collect_timeout (gchar * sessionid, Gst
  {
    gint timeout;
    GTimeVal now;
 -#if GLIB_CHECK_VERSION(2,28,0)
+   gint64 tmp;
  
-   g_get_current_time (&now);
+   tmp = g_source_get_time ((GSource *) psrc);
+   now.tv_sec = tmp / G_USEC_PER_SEC;
+   now.tv_usec = tmp % G_USEC_PER_SEC;
 -#else
 -  g_source_get_current_time ((GSource *) psrc, &now);
 -#endif
  
    timeout = gst_rtsp_session_next_timeout (sess, &now);
    GST_INFO ("%p: next timeout: %d", sess, timeout);