[Issue#] TD-6970
[Problem] When the bandwidth (Bit Rate) of video source bigger than 2560 kbps,
(depends on the type of codec and reference frame size), the playback would
be unsmooth and even stuck.
[Cause] The pop ring-cache head operation happened while overflow the 0.99 of Max Cache
-> 2MB, but the high bit rate of video would need much more free cache space.
[Solution] Supports some HD video source achieve more than 4096 kbps, extend the default
max cache size to 5MB limition tmpfs and recover percentage from 99% to 69%.
This updates will not impact the manual media-pipeline setup, because the pipeline owner c
set any propriety as before.
[Developer] Qing.Zhang (qing.zhang@intel.com)
#define DEFAULT_USE_RATE_ESTIMATE TRUE
#ifdef GST_EXT_QUEUE_ENHANCEMENT
#define DEFAULT_LOW_PERCENT 10.0
-#define DEFAULT_HIGH_PERCENT 99.0
+#define DEFAULT_HIGH_PERCENT 69.0
#else
#define DEFAULT_LOW_PERCENT 10
-#define DEFAULT_HIGH_PERCENT 99
+#define DEFAULT_HIGH_PERCENT 69
#endif
#define DEFAULT_TEMP_REMOVE TRUE
#ifdef GST_EXT_QUEUE_ENHANCEMENT
#endif
#define DEFAULT_RING_BUFFER_MAX_SIZE 0
#ifdef GST_EXT_QUEUE_ENHANCEMENT
-#define DEFAULT_FILE_BUFFER_MAX_SIZE (2 * 1024 * 1024) /* 2 MB */
+#define DEFAULT_FILE_BUFFER_MAX_SIZE (5 * 1024 * 1024) /* 5 MB */
#endif
enum