mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
rtsp-session-pool: corrected session timeout detection
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701253
This commit is contained in:
parent
7526178a09
commit
aa50aac669
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue