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>
if (msg->content_protection->hdcp2_spec->TCPPort) {
result =
strtok_r (msg->content_protection->hdcp2_spec->TCPPort, "=", &ptr);
- while (result != NULL && ptr != NULL) {
+ if (result != NULL && ptr != NULL) {
result = strtok_r (NULL, "=", &ptr);
*TCPPort = atoi (result);
- break;
}
} else {
*TCPPort = 0;
Name: gst-rtsp-server
Summary: Multimedia Framework Library
Version: 1.6.1
-Release: 18
+Release: 19
Url: http://gstreamer.freedesktop.org/
Group: System/Libraries
License: LGPL-2.0+