From bc0824181bc24ef34e221602400c8b1a80d559b2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 5 Jan 2011 18:32:58 +0100 Subject: [PATCH] rtspsrc: don't confuse return values Return a return value of the right type. --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 92c4efc..a507d4e 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -4397,7 +4397,7 @@ server_eof: GST_ELEMENT_WARNING (src, RESOURCE, READ, (NULL), ("The server closed the connection.")); gst_rtsp_message_unset (response); - return GST_FLOW_UNEXPECTED; + return res; } } -- 2.7.4