Modify while loop run always one time. 12/148612/2 accepted/tizen_4.0_unified tizen_4.0 tizen_4.0_tv accepted/tizen/4.0/unified/20170913.152909 submit/tizen_4.0/20170911.080400 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
authorHyunsoo <hance.park@samsung.com>
Fri, 8 Sep 2017 07:15:33 +0000 (16:15 +0900)
committerHyunsoo <hance.park@samsung.com>
Fri, 8 Sep 2017 07:22:15 +0000 (16:22 +0900)
commitf7be8d17b884624d01f4aa979767b4bb8d7265d4
tree0aec4e0ddae2836ca87b64e6428635467275c705
parent62bb52d9eb736f33529fff93a21bec3930b9a31f
Modify while loop run always one time.

In 'gst_wfd_message_get_contentprotection_type' api, while loop which is always run one time logically.
So i modified it.

For testing,

1. Make 'priv->protection_enabled' variable 'TRUE' which is in 'gst_rtsp_wfd_client_init' api.
2. Unlock if statement for 'msg->content_protection' (if 0 -> 1).
3. Find log in it on Miracast server log.

Change-Id: I62588bf47ec4893b6ced0801c297e1f34fdc028c
Signed-off-by: Hyunsoo <hance.park@samsung.com>
gst/rtsp-server/gstwfdmessage.c
packaging/gst-rtsp-server.spec