uridecodebin: query bandwidth capability to source element
authorPhilippe Normand <philn@igalia.com>
Thu, 28 Mar 2013 13:21:41 +0000 (14:21 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 16 Apr 2013 14:47:28 +0000 (16:47 +0200)
commit26fb72cf6577494fed4c00ecba2ad4d746d0caf5
tree04512fc7f8cc2da07deaca66650d97e779e21359
parentdbbcdf901c4b91e773373aae4ab2c4373caffd6d
uridecodebin: query bandwidth capability to source element

Use a scheduling query to check if the source element has some
bandwidth limitations. If this is the case on-disk buffering might be
used. If the source element doesn't handle the scheduling query then
fallback to checking the URI protocol against the hardcoded list of
protocols known to handle buffering already.

Fixes bug 693484.
gst/playback/gsturidecodebin.c