decodebin2: fix preroll for streams at low bitrates
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Mon, 9 May 2011 20:20:23 +0000 (22:20 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 14 May 2011 09:42:33 +0000 (11:42 +0200)
commitdd36e4cd0ecffdc51129c33d8e8a75a8488189a1
tree271e4578fc005091068abdf69e7e364358ebaca6
parent9337a293e140af060c1e11bb95ec2b83345146dc
decodebin2: fix preroll for streams at low bitrates

For streams at low bitrates we need to set a limit in time because the limit
in bytes might not reached too late, sometimes more than 30 seconds.
This limit can only be set if upstream is seekable (see #584104)
Closes #647769
gst/playback/gstdecodebin2.c