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:
73fac6e
)
rtspsrc: don't send PAUSE when not connected
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 12 Mar 2009 19:38:42 +0000
(20:38 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 12 Mar 2009 19:39:35 +0000
(20:39 +0100)
don't send a PAUSE request when we are no longer connected.
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
a0b8d5a
..
57d4e3a
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-4858,7
+4858,7
@@
gst_rtspsrc_pause (GstRTSPSrc * src)
GST_DEBUG_OBJECT (src, "connection is idle now");
GST_RTSP_CONN_UNLOCK (src);
- if (!src->connection)
+ if (!src->connection
|| !src->connected
)
goto no_connection;
GST_DEBUG_OBJECT (src, "stop connection flush");