mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
decodebin2: raise multiqueue max-size-bytes
The earlier size of 2 MB was set back in 2009, it doesn't seem unreasonable to raise it to 8 MB these days. The use case at hand is matroskademux containing both a video stream with a very low amount of compression but no decoding latency, and a H265 stream. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1538>
This commit is contained in:
parent
002c5ae7ef
commit
8983696e39
1 changed files with 4 additions and 4 deletions
|
@ -239,16 +239,16 @@ enum
|
||||||
LAST_SIGNAL
|
LAST_SIGNAL
|
||||||
};
|
};
|
||||||
|
|
||||||
/* automatic sizes, while prerolling we buffer up to 2MB, we ignore time
|
/* automatic sizes, while prerolling we buffer up to 8MB, we ignore time
|
||||||
* and buffers in this case. */
|
* and buffers in this case. */
|
||||||
#define AUTO_PREROLL_SIZE_BYTES 2 * 1024 * 1024
|
#define AUTO_PREROLL_SIZE_BYTES 8 * 1024 * 1024
|
||||||
#define AUTO_PREROLL_SIZE_BUFFERS 0
|
#define AUTO_PREROLL_SIZE_BUFFERS 0
|
||||||
#define AUTO_PREROLL_NOT_SEEKABLE_SIZE_TIME 10 * GST_SECOND
|
#define AUTO_PREROLL_NOT_SEEKABLE_SIZE_TIME 10 * GST_SECOND
|
||||||
#define AUTO_PREROLL_SEEKABLE_SIZE_TIME 0
|
#define AUTO_PREROLL_SEEKABLE_SIZE_TIME 0
|
||||||
|
|
||||||
/* when playing, keep a max of 2MB of data but try to keep the number of buffers
|
/* when playing, keep a max of 8MB 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) */
|
||||||
#define AUTO_PLAY_SIZE_BYTES 2 * 1024 * 1024
|
#define AUTO_PLAY_SIZE_BYTES 8 * 1024 * 1024
|
||||||
#define AUTO_PLAY_SIZE_BUFFERS 5
|
#define AUTO_PLAY_SIZE_BUFFERS 5
|
||||||
#define AUTO_PLAY_SIZE_TIME 0
|
#define AUTO_PLAY_SIZE_TIME 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue