From d5fd524a0c831836d2fe66fa482dede0591d0c47 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 17 Oct 2012 13:55:45 +0200 Subject: [PATCH] rtsession: fix compiler warning --- gst/rtpmanager/rtpsession.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 4e27a6a..cfad8e5 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -2464,8 +2464,8 @@ ignore: void rtp_session_update_send_caps (RTPSession * sess, GstCaps * caps) { - g_return_val_if_fail (RTP_IS_SESSION (sess), GST_FLOW_ERROR); - g_return_val_if_fail (GST_IS_CAPS (caps), GST_FLOW_ERROR); + g_return_if_fail (RTP_IS_SESSION (sess)); + g_return_if_fail (GST_IS_CAPS (caps)); GST_LOG ("received caps %" GST_PTR_FORMAT, caps); -- 2.7.4