Fixed the build error using gcc 13 17/295217/2 accepted/tizen_unified_dev accepted/tizen/unified/20230706.152202 accepted/tizen/unified/dev/20230726.115753
authorwchang kim <wchang.kim@samsung.com>
Tue, 4 Jul 2023 01:51:21 +0000 (10:51 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Tue, 4 Jul 2023 10:56:49 +0000 (19:56 +0900)
Change-Id: Ia6556f5501878de2e9132c95004f3889bb4c3fdd

src/media_streamer_gst.c

index ddb58725c5cad7425cf6562e95682f702ec2f148..66419fa5c1ac3013d64cd79ae98db897423b748b 100644 (file)
@@ -1288,7 +1288,9 @@ static GstElement *ms_element_create_from_ini(node_plug_s *plug_info, media_stre
        MS_GET_CAPS_TYPE(plug_info->src_caps, src_type);
        MS_GET_CAPS_TYPE(plug_info->sink_caps, sink_type);
 
-       ms_info("Specified node formats types: in[%s] - out[%s]", sink_type, src_type);
+       ms_info("Specified node formats types: in[%s] - out[%s]",
+                       sink_type ? sink_type : "(null)",
+                       src_type ? src_type : "(null)");
 
        if (type == MEDIA_STREAMER_NODE_TYPE_VIDEO_ENCODER) {
                format_type = src_type;