[0.6.169] use attr for buffering criteria 45/198745/3
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 29 Jan 2019 06:14:54 +0000 (15:14 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Tue, 29 Jan 2019 07:42:46 +0000 (16:42 +0900)
commit39da3bf7f4daef44c98027a22052c79064b2a81d
treeb7348f2676f095dc1065fda20f93e3f27b595d7a
parent89813d8e64bd00db88daa5048e9384c1719484bd
[0.6.169] use attr for buffering criteria

- Use attr for prebuffer_ms and rebuffer_ms value
  to seperate between platform default and user requirement.
- In case of TS content, update duration
  via gstreamer query when user ask the duration value
  TS duration is getting accurate over time.
- Add setting about low-watermark property to buffer
  based on the high-watermark.
  If not, according to the user request, the high-watermark
  can be similar with low-watermark which was fixed to 10% of buffer size.

Change-Id: I23f977280479d7264449eea8d947a0997781a9d2
packaging/libmm-player.spec
src/include/mm_player.h
src/include/mm_player_priv.h
src/mm_player.c
src/mm_player_attrs.c
src/mm_player_priv.c
src/mm_player_streaming.c