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. --- ChangeLog | 5 +++++ gst/rtsp/gstrtspsrc.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 301b2b38..43d1559f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-25 Wim Taymans + + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods): + Don't assume the server supports PAUSE by default. Fixes #551048. + 2008-09-25 Wim Taymans * gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), 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