mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue