From 80d9924a96bc7b7ad5cae54128a53bb1c5a5c66c Mon Sep 17 00:00:00 2001 From: SeokHoon Lee Date: Tue, 7 Feb 2017 16:08:23 +0900 Subject: [PATCH] Change wfd message wfd-video-formats have none parameter for audio only sink Signed-off-by: SeokHoon Lee Change-Id: I9c4f4198a21c6ab7c02a8d2714a06f5bde0a2353 --- packaging/gst-plugins-tizen.spec | 2 +- wfdmanager/wfdbase/gstwfdsinkmessage.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) mode change 100755 => 100644 packaging/gst-plugins-tizen.spec diff --git a/packaging/gst-plugins-tizen.spec b/packaging/gst-plugins-tizen.spec old mode 100755 new mode 100644 index a1bee34..ffc4798 --- a/packaging/gst-plugins-tizen.spec +++ b/packaging/gst-plugins-tizen.spec @@ -5,7 +5,7 @@ Name: gst-plugins-tizen Version: 1.0.0 Summary: GStreamer tizen plugins (common) -Release: 36 +Release: 37 Group: Multimedia/Framework Url: http://gstreamer.freedesktop.org/ License: LGPL-2.1+ diff --git a/wfdmanager/wfdbase/gstwfdsinkmessage.c b/wfdmanager/wfdbase/gstwfdsinkmessage.c index 2602328..550358f 100644 --- a/wfdmanager/wfdbase/gstwfdsinkmessage.c +++ b/wfdmanager/wfdbase/gstwfdsinkmessage.c @@ -288,8 +288,8 @@ gst_wfd_message_as_text(const GstWFDMessage *msg) /* list of video codecs */ if (msg->video_formats) { g_string_append_printf(lines, GST_STRING_WFD_VIDEO_FORMATS); + g_string_append_printf(lines, GST_STRING_WFD_COLON); if (msg->video_formats->list) { - g_string_append_printf(lines, GST_STRING_WFD_COLON); g_string_append_printf(lines, " %02x", msg->video_formats->list->native); g_string_append_printf(lines, " %02x", msg->video_formats->list->preferred_display_mode_supported); g_string_append_printf(lines, " %02x", msg->video_formats->list->H264_codec.profile); @@ -316,6 +316,9 @@ gst_wfd_message_as_text(const GstWFDMessage *msg) g_string_append_printf(lines, GST_STRING_WFD_SPACE); g_string_append_printf(lines, GST_STRING_WFD_NONE); } + } else { + g_string_append_printf(lines, GST_STRING_WFD_SPACE); + g_string_append_printf(lines, GST_STRING_WFD_NONE); } g_string_append_printf(lines, GST_STRING_WFD_CRLF); } -- 2.7.4