uridecodebin: use bitrate to configure streaming buffer-duration default case
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 26 Apr 2011 11:37:51 +0000 (13:37 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 16 May 2011 10:44:52 +0000 (12:44 +0200)
commit4ba6acdba5712d820122c241728043a18107a431
tree1d7c333935031a0fe0bf0e8e5ec5ae3bbb67b1df
parent8480b1ef1dc1026329e567afba478a80d85d3b7a
uridecodebin: use bitrate to configure streaming buffer-duration default case

In particular, in audio only cases whose (estimated) metadata provides bitrate
information, the buffer-size based on such bitrate (and buffer-duration)
will be much more reasonable than queue2 default buffer-size.
gst/playback/gsturidecodebin.c