projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5f25a4
)
baseparse: Change MIN_FRAMES_TO_POST_BITRATE value
46/169946/2
accepted/tizen/unified/20180214.060248
submit/tizen/20180213.015205
submit/tizen/20180320.033632
author
Gilbok Lee
<gilbok.lee@samsung.com>
Mon, 12 Feb 2018 08:11:01 +0000
(17:11 +0900)
committer
Gilbok Lee
<gilbok.lee@samsung.com>
Mon, 12 Feb 2018 10:52:53 +0000
(19:52 +0900)
When libmm-player is prepared, less than 10 frames can be input in
baseparse, so bitrate doesn't update.
Change-Id: I8ad6ed029d3028d4924d8afb02a4e771345809e8
libs/gst/base/gstbaseparse.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbaseparse.c
b/libs/gst/base/gstbaseparse.c
index
0d765ec
..
babc055
100644
(file)
--- a/
libs/gst/base/gstbaseparse.c
+++ b/
libs/gst/base/gstbaseparse.c
@@
-182,7
+182,11
@@
#define GST_BASE_PARSE_FRAME_PRIVATE_FLAG_NOALLOC (1 << 0)
+#ifdef TIZEN_FEATURE_BASEPARSE_MODIFICATION
+#define MIN_FRAMES_TO_POST_BITRATE 1
+#else
#define MIN_FRAMES_TO_POST_BITRATE 10
+#endif
#define TARGET_DIFFERENCE (20 * GST_SECOND)
#define MAX_INDEX_ENTRIES 4096
#define UPDATE_THRESHOLD 2