rtspsrc: don't confuse return values

Return a return value of the right type.
This commit is contained in:
Wim Taymans 2011-01-05 18:32:58 +01:00
parent ee2a615851
commit bc0824181b

View file

@ -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;
}
}