mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
souphttpsrc: basic scheduling query support
Answer to scheduling queries with default parameters and the new _BANDWIDTH_LIMITED_FLAG so that downstream is advised to minimize seek operations and perform on-disk buffering if possible. Bug 693484
This commit is contained in:
parent
baa23d314d
commit
b857cb38dd
1 changed files with 5 additions and 0 deletions
|
@ -1366,6 +1366,11 @@ gst_soup_http_src_query (GstBaseSrc * bsrc, GstQuery * query)
|
|||
gst_query_set_uri (query, src->location);
|
||||
ret = TRUE;
|
||||
break;
|
||||
case GST_QUERY_SCHEDULING:
|
||||
gst_query_set_scheduling (query, GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED, 1,
|
||||
-1, 0);
|
||||
ret = TRUE;
|
||||
break;
|
||||
default:
|
||||
ret = FALSE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue