From f2e569cde89663cdf015466a848e092d3cf17149 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 6 Mar 2012 14:18:33 +0100 Subject: [PATCH] rtspsrc: Use correct enum for return values --- gst/rtsp/gstrtspsrc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index de14225..1b335b6 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3995,17 +3995,17 @@ no_protocols: ("Could not receive any UDP packets for %.4f seconds, maybe your " "firewall is blocking it. No other protocols to try.", gst_guint64_to_gdouble (src->udp_timeout / 1000000.0))); - return GST_FLOW_ERROR; + return GST_RTSP_ERROR; } open_failed: { GST_DEBUG_OBJECT (src, "open failed"); - return GST_FLOW_OK; + return GST_RTSP_OK; } play_failed: { GST_DEBUG_OBJECT (src, "play failed"); - return GST_FLOW_OK; + return GST_RTSP_OK; } } -- 2.7.4