Change wfd message 32/113332/1
authorSeokHoon Lee <andy.shlee@samsung.com>
Tue, 7 Feb 2017 07:08:23 +0000 (16:08 +0900)
committerSeokHoon Lee <andy.shlee@samsung.com>
Tue, 7 Feb 2017 07:08:50 +0000 (16:08 +0900)
wfd-video-formats have none parameter for audio only sink

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I9c4f4198a21c6ab7c02a8d2714a06f5bde0a2353

packaging/gst-plugins-tizen.spec [changed mode: 0755->0644]
wfdmanager/wfdbase/gstwfdsinkmessage.c

old mode 100755 (executable)
new mode 100644 (file)
index a1bee34..ffc4798
@@ -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+
index 2602328..550358f 100644 (file)
@@ -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);
   }