[MediaPlayer] Fix not to set callback in case of using MedaiStreamSource (#529)
authornam <36914158+kqjy777@users.noreply.github.com>
Tue, 6 Nov 2018 01:04:18 +0000 (10:04 +0900)
committerGitHub <noreply@github.com>
Tue, 6 Nov 2018 01:04:18 +0000 (10:04 +0900)
commit0e90e40b55381c0b1eb925ac041e08dbf70aa12e
treedb26d34c477d7d21bc79a85b6dfb885ac2aa7cc7
parentaa67ece1df1146834df8297060427e6c217d91ab
[MediaPlayer] Fix not to set callback in case of using MedaiStreamSource (#529)

* [MediaPlayer] Fix not to set callback in case of using MedaiStreamSource

when source is MediaStreamSource, ObjectKeeper is not active.
so garbage collector sometimes collects callback in use.
this patch is to avoid that case.

* fix not to set cb for case of MediaStreamSource

* fix to follow coding rules
src/Tizen.Multimedia.MediaPlayer/Player/Player.cs