diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-09-25 12:07:46 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-09-25 12:07:46 +0000 |
commit | b1dfdc758e04ea8aa70379bbcc9ea9103516d0af (patch) | |
tree | a92681bdfce86b18ce2c7f474dd0911145c0133c /gst/rtsp/gstrtspsrc.c | |
parent | 712cd620af861bfef8344cb2febb45942613594b (diff) |
gst/rtsp/gstrtspsrc.c: Don't assume the server supports PAUSE by default. Fixes #551048.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods):
Don't assume the server supports PAUSE by default. Fixes #551048.
Diffstat (limited to 'gst/rtsp/gstrtspsrc.c')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index c2266ab8..d7ab6f69 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3550,14 +3550,14 @@ gst_rtspsrc_parse_methods (GstRTSPSrc * src, GstRTSPMessage * response) if (src->methods == 0) { /* neither Allow nor Public are required, assume the server supports - * at least DESCRIBE, SETUP, we always assume it supports PLAY and PAUSE as + * at least DESCRIBE, SETUP, we always assume it supports PLAY as * well. */ GST_DEBUG_OBJECT (src, "could not get OPTIONS"); src->methods = GST_RTSP_DESCRIBE | GST_RTSP_SETUP; } - /* always assume PLAY and PAUSED, FIXME, extensions should be able to override + /* always assume PLAY, FIXME, extensions should be able to override * this */ - src->methods |= GST_RTSP_PLAY | GST_RTSP_PAUSE; + src->methods |= GST_RTSP_PLAY; /* we need describe and setup */ if (!(src->methods & GST_RTSP_DESCRIBE)) |