mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
rtmpsrc: Report limited bandwidth
Makes uridecodebin treat this source as a stream source, allowing timeshifting. https://bugzilla.gnome.org/show_bug.cgi?id=732335
This commit is contained in:
parent
8c53dfcfb6
commit
86080cb5cc
1 changed files with 9 additions and 0 deletions
|
@ -435,6 +435,15 @@ gst_rtmp_src_query (GstBaseSrc * basesrc, GstQuery * query)
|
|||
}
|
||||
break;
|
||||
}
|
||||
case GST_QUERY_SCHEDULING:{
|
||||
gst_query_set_scheduling (query,
|
||||
GST_SCHEDULING_FLAG_SEQUENTIAL | GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED,
|
||||
1, -1, 0);
|
||||
gst_query_add_scheduling_mode (query, GST_PAD_MODE_PUSH);
|
||||
|
||||
ret = TRUE;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ret = FALSE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue