souphttpsrc: Allow positive, non-1.0 segment rates
Only negative rates are not supported. Fixes bug #658305.
This commit is contained in:
parent
077a306054
commit
7b592ff126
@ -1382,7 +1382,7 @@ gst_soup_http_src_do_seek (GstBaseSrc * bsrc, GstSegment * segment)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (segment->rate != 1.0 || segment->format != GST_FORMAT_BYTES) {
|
||||
if (segment->rate < 0.0 || segment->format != GST_FORMAT_BYTES) {
|
||||
GST_WARNING_OBJECT (src, "Invalid seek segment");
|
||||
return FALSE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user