From: Mark Nauwelaerts Date: Wed, 1 Dec 2010 15:51:33 +0000 (+0100) Subject: rtspsrc: include range request for all streams with non-aggregate control X-Git-Tag: 1.19.3~509^2~7970 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=148af2235ef4a230dd9c52d27bb46853f71f7c78;p=platform%2Fupstream%2Fgstreamer.git rtspsrc: include range request for all streams with non-aggregate control --- diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 9e991ce..aa4ec16 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -5804,7 +5804,6 @@ gst_rtspsrc_play (GstRTSPSrc * src, GstSegment * segment) gst_rtsp_message_add_header (&request, GST_RTSP_HDR_RANGE, hval); g_free (hval); - src->need_range = FALSE; } if (segment->rate != 1.0) { @@ -5856,6 +5855,8 @@ gst_rtspsrc_play (GstRTSPSrc * src, GstSegment * segment) if (control) break; } + /* set again when needed */ + src->need_range = FALSE; /* configure the caps of the streams after we parsed all headers. */ gst_rtspsrc_configure_caps (src, segment);