From: wchang kim Date: Tue, 4 Jul 2023 01:51:21 +0000 (+0900) Subject: Fixed the build error using gcc 13 X-Git-Tag: accepted/tizen/unified/20230706.152202^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified_dev;p=platform%2Fcore%2Fapi%2Fmediastreamer.git Fixed the build error using gcc 13 Change-Id: Ia6556f5501878de2e9132c95004f3889bb4c3fdd --- diff --git a/src/media_streamer_gst.c b/src/media_streamer_gst.c index ddb5872..66419fa 100644 --- a/src/media_streamer_gst.c +++ b/src/media_streamer_gst.c @@ -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;