mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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.
This commit is contained in:
parent
712cd620af
commit
b1dfdc758e
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-09-25 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods):
|
||||
Don't assume the server supports PAUSE by default. Fixes #551048.
|
||||
|
||||
2008-09-25 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue