projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7526178
)
rtsp-session-pool: corrected session timeout detection
author
Patricia Muscalu
<patricia@axis.com>
Thu, 30 May 2013 08:46:33 +0000
(10:46 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 30 May 2013 11:13:05 +0000
(13:13 +0200)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701253
gst/rtsp-server/rtsp-session-pool.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-session-pool.c
b/gst/rtsp-server/rtsp-session-pool.c
index
c4709c5
..
f0b65dc
100644
(file)
--- a/
gst/rtsp-server/rtsp-session-pool.c
+++ b/
gst/rtsp-server/rtsp-session-pool.c
@@
-519,11
+519,8
@@
collect_timeout (gchar * sessionid, GstRTSPSession * sess, GstPoolSource * psrc)
{
gint timeout;
GTimeVal now;
- gint64 tmp;
- tmp = g_source_get_time ((GSource *) psrc);
- now.tv_sec = tmp / G_USEC_PER_SEC;
- now.tv_usec = tmp % G_USEC_PER_SEC;
+ g_get_current_time (&now);
timeout = gst_rtsp_session_next_timeout (sess, &now);
GST_INFO ("%p: next timeout: %d", sess, timeout);