projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2a615
)
rtspsrc: don't confuse return values
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 5 Jan 2011 17:32:58 +0000
(18:32 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 5 Jan 2011 17:33:41 +0000
(18:33 +0100)
Return a return value of the right type.
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
92c4efc
..
a507d4e
100644
(file)
--- 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
;
}
}