rtpsession: fix return value
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 7 May 2010 17:06:35 +0000 (19:06 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 7 May 2010 17:06:35 +0000 (19:06 +0200)
gst/rtpmanager/rtpsession.c

index 0ed9de2..ce227cb 100644 (file)
@@ -2180,7 +2180,7 @@ rtp_session_next_timeout (RTPSession * sess, GstClockTime current_time)
 {
   GstClockTime result, interval = 0;
 
-  g_return_val_if_fail (RTP_IS_SESSION (sess), GST_FLOW_ERROR);
+  g_return_val_if_fail (RTP_IS_SESSION (sess), GST_CLOCK_TIME_NONE);
 
   RTP_SESSION_LOCK (sess);