From b1dfdc758e04ea8aa70379bbcc9ea9103516d0af Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 25 Sep 2008 12:07:46 +0000 Subject: 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. --- gst/rtsp/gstrtspsrc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/rtsp') 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)) -- cgit