Remove unidentified logic inside of __ms_bus_cb() for state change 87/237987/6
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 6 Jul 2020 09:57:49 +0000 (18:57 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 8 Jul 2020 01:09:52 +0000 (10:09 +0900)
commit38a3c44906fa7126d58f1ca41348b5eefdd01e2d
tree26a53942b6e50c8b613c56962876e46b1c9ca8f6
parent9de0153e0d10ad9798157c99f126aee0f7c5cc8b
Remove unidentified logic inside of __ms_bus_cb() for state change

In case of MEDIA_STREAMER_STATE_READY/PAUSED/PLAYING, the pend state
of media streamer handle is set by API. After then, the state of
media stream handle is set in bus message callback with the pend state.

But the removed logic in this commit set these states of the handle
forcedly from the bus message callback. We can't find the situation
that it happens as well as we find it causes a bug of state change
in case of WebRTC execution. Hence, it is now removed.

Coding style and logs are also revised.

[Version] 0.1.87
[Issue Type] Bug fix

Change-Id: I06e89837101b0d9d894643d4323a7e102828e9a7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-streamer.spec
src/media_streamer_gst.c