mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
decodebin2: Use a TIME limit for pre-rolling in live streams and not in non-live streams
Fixes bug #647769 for real.
This commit is contained in:
parent
15dc839467
commit
9117681b35
1 changed files with 2 additions and 2 deletions
|
@ -223,8 +223,8 @@ enum
|
||||||
* and buffers in this case. */
|
* and buffers in this case. */
|
||||||
#define AUTO_PREROLL_SIZE_BYTES 2 * 1024 * 1024
|
#define AUTO_PREROLL_SIZE_BYTES 2 * 1024 * 1024
|
||||||
#define AUTO_PREROLL_SIZE_BUFFERS 0
|
#define AUTO_PREROLL_SIZE_BUFFERS 0
|
||||||
#define AUTO_PREROLL_NOT_SEEKABLE_SIZE_TIME 0
|
#define AUTO_PREROLL_NOT_SEEKABLE_SIZE_TIME 10 * GST_SECOND
|
||||||
#define AUTO_PREROLL_SEEKABLE_SIZE_TIME 10 * GST_SECOND
|
#define AUTO_PREROLL_SEEKABLE_SIZE_TIME 0
|
||||||
|
|
||||||
/* whan playing, keep a max of 2MB of data but try to keep the number of buffers
|
/* whan playing, keep a max of 2MB of data but try to keep the number of buffers
|
||||||
* as low as possible (try to aim for 5 buffers) */
|
* as low as possible (try to aim for 5 buffers) */
|
||||||
|
|
Loading…
Reference in a new issue