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
@ -1366,6 +1366,11 @@ gst_soup_http_src_query (GstBaseSrc * bsrc, GstQuery * query)
|
|||||||
gst_query_set_uri (query, src->location);
|
gst_query_set_uri (query, src->location);
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
break;
|
break;
|
||||||
|
case GST_QUERY_SCHEDULING:
|
||||||
|
gst_query_set_scheduling (query, GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED, 1,
|
||||||
|
-1, 0);
|
||||||
|
ret = TRUE;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user