Add restriction about setting MEDIA_STREAMER_PARAM_DISPLAY 61/237561/5
authorHyunil <hyunil46.park@samsung.com>
Wed, 1 Jul 2020 07:26:20 +0000 (16:26 +0900)
committerHyunil <hyunil46.park@samsung.com>
Thu, 2 Jul 2020 00:21:51 +0000 (09:21 +0900)
commite29477accc00c9a877dcc65321223618e12145ae
tree917919e3bb8d54471d2ffb4e5df96abf79006128
parentdabda7a878e10e636532742e5cc67a965126b18b
Add restriction about setting MEDIA_STREAMER_PARAM_DISPLAY

- MEDIA_STREAMER_PARAM_DISPLAY should be set in main thread.
  Otherwise, it will return MEDIA_STREAMER_ERROR_INVALID_OPERATION by internal restriction.
  To avoid MEDIA_STREAMER_ERROR_INVALID_OPERATION in sub thread, ecore_thread_main_loop_begin() and
  ecore_thread_main_loop_end() can be used, but deadlock can be also occurred if main thread is busy.

[Version] 0.1.79
[Issue Type] Improvement

Change-Id: Ie7290e99d6e051b363760421b18b4702b39acee0
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
include/media_streamer.h
packaging/capi-media-streamer.spec
test/media_streamer_test.c