diff --git a/gstplugins_bad/ext/curl/gstcurlhttpsrc.c b/gstplugins_bad/ext/curl/gstcurlhttpsrc.c index 16b54aaa63f50355c3130ab53f1cb5530a73ad49..ba02dbe40c633119c247d98aa8db21965c7c25aa 100644 --- a/gstplugins_bad/ext/curl/gstcurlhttpsrc.c +++ b/gstplugins_bad/ext/curl/gstcurlhttpsrc.c @@ -966,7 +966,7 @@ static void gst_curl_http_src_handle_seek (GstCurlHttpSrc * src) { if (src->curl_handle == NULL) { - GST_INFO_OBJECT (src, "parameter is invalid"); + GST_DEBUG_OBJECT (src, "parameter is invalid"); return; } @@ -974,7 +974,7 @@ gst_curl_http_src_handle_seek (GstCurlHttpSrc * src) if (src->request_position == src->read_position) { #ifdef OHOS_OPT_COMPAT /* ohos.opt.compat.0044 */ - GST_INFO_OBJECT (src, "request_position is equal to read_position, req = %" + GST_DEBUG_OBJECT (src, "request_position is equal to read_position, req = %" G_GUINT64_FORMAT, src->request_position); #endif /* not seek, just return */ @@ -1091,7 +1091,7 @@ retry: REQUEST_HEADERS_NAME, GST_TYPE_STRUCTURE, src->request_headers, RESPONSE_HEADERS_NAME, GST_TYPE_STRUCTURE, empty_headers, NULL); gst_structure_free (empty_headers); - GST_INFO_OBJECT (src, "Created a new headers object"); + GST_DEBUG_OBJECT (src, "Created a new headers object"); } g_mutex_unlock (&klass->multi_task_context.mutex); @@ -1148,7 +1148,7 @@ retry: g_mutex_unlock (&src->buffer_mutex); return GST_FLOW_ERROR; /* Don't attempt a retry, just bomb out */ } - GST_INFO_OBJECT (src, "Attempting retry for URI %s", src->uri); + GST_DEBUG_OBJECT (src, "Attempting retry for URI %s", src->uri); src->state = GSTCURL_NONE; src->transfer_begun = FALSE; src->status_code = 0; @@ -1195,7 +1195,7 @@ retry: /* ret should still be GST_FLOW_OK */ } else if ((src->state == GSTCURL_DONE) && (src->buffer_len == 0)) { - GST_INFO_OBJECT (src, "Full body received, signalling EOS for URI %s.", + GST_DEBUG_OBJECT (src, "Full body received, signalling EOS for URI %s.", src->uri); src->state = GSTCURL_NONE; src->transfer_begun = FALSE; @@ -1284,7 +1284,7 @@ gst_curl_http_src_create_easy_handle (GstCurlHttpSrc * s) GST_ERROR_OBJECT (s, "Couldn't init a curl easy handle!"); return NULL; } - GST_INFO_OBJECT (s, "Creating a new handle for URI %s", s->uri); + GST_DEBUG_OBJECT (s, "Creating a new handle for URI %s", s->uri); #ifndef GST_DISABLE_GST_DEBUG if (curl_easy_setopt (handle, CURLOPT_VERBOSE, 1) != CURLE_OK) { @@ -1575,7 +1575,7 @@ gst_curl_http_src_handle_response (GstCurlHttpSrc * src) of bytes requested, not the total size of the resource */ #ifdef OHOS_EXT_FUNC /* ohos.ext.func.0025 */ - GST_INFO_OBJECT (src, "orig req pos:%" G_GUINT64_FORMAT ", Content-Length was given as %" G_GUINT64_FORMAT, + GST_DEBUG_OBJECT (src, "orig req pos:%" G_GUINT64_FORMAT ", Content-Length was given as %" G_GUINT64_FORMAT, src->orig_request_pos, curl_info_offt); if (src->content_size == 0) { src->content_size = src->orig_request_pos + curl_info_offt; @@ -1615,7 +1615,7 @@ gst_curl_http_src_handle_response (GstCurlHttpSrc * src) hdrs_event = gst_event_new_custom (GST_EVENT_CUSTOM_DOWNSTREAM_STICKY, gst_structure_copy (src->http_headers)); gst_pad_push_event (GST_BASE_SRC_PAD (src), hdrs_event); - GST_INFO_OBJECT (src, "Pushed headers downstream"); + GST_DEBUG_OBJECT (src, "Pushed headers downstream"); } src->hdrs_updated = FALSE; @@ -1636,7 +1636,7 @@ gst_curl_http_src_negotiate_caps (GstCurlHttpSrc * src) const GValue *response_headers; const GstStructure *response_struct; - GST_INFO_OBJECT (src, "Negotiating caps..."); + GST_DEBUG_OBJECT (src, "Negotiating caps..."); if (src->caps && src->http_headers) { response_headers = gst_structure_get_value (src->http_headers, RESPONSE_HEADERS_NAME); @@ -1878,7 +1878,7 @@ gst_curl_http_src_do_seek (GstBaseSrc * bsrc, GstSegment * segment) g_mutex_lock (&src->buffer_mutex); #ifdef OHOS_EXT_FUNC /* ohos.ext.func.0025 support https seek: */ - GST_INFO_OBJECT (src, "do_seek(%" G_GINT64_FORMAT ", %" G_GINT64_FORMAT + GST_DEBUG_OBJECT (src, "do_seek(%" G_GINT64_FORMAT ", %" G_GINT64_FORMAT ")", segment->start, segment->stop); #endif if (src->state == GSTCURL_UNLOCK) { @@ -2271,7 +2271,7 @@ gst_curl_http_src_get_header (void *header, size_t size, size_t nmemb, (guint) g_ascii_strtoll (status_line_fields[1], NULL, 10); g_free (s->reason_phrase); s->reason_phrase = g_strdup (status_line_fields[2]); - GST_INFO_OBJECT (s, "Received status %u for request for URI %s: %s", + GST_DEBUG_OBJECT (s, "Received status %u for request for URI %s: %s", s->status_code, s->uri, s->reason_phrase); gst_structure_set (s->http_headers, HTTP_STATUS_CODE, G_TYPE_UINT, s->status_code, NULL); diff --git a/gstplugins_bad/gst/mpegtsdemux/tsdemux.c b/gstplugins_bad/gst/mpegtsdemux/tsdemux.c index e647f11fc15aae83cfe89b4f70173dab7ebc27d7..0a9782eb99a51a8774fa4dd4683a46e3df3acb06 100644 --- a/gstplugins_bad/gst/mpegtsdemux/tsdemux.c +++ b/gstplugins_bad/gst/mpegtsdemux/tsdemux.c @@ -1162,7 +1162,7 @@ push_event (MpegTSBase * base, GstEvent * event) gst_event_ref (event); if (pending_data) { - GST_WARNING_OBJECT (stream->pad, "bitrate switch pushing tag"); + GST_DEBUG_OBJECT (stream->pad, "bitrate switch pushing tag"); } gst_pad_push_event (stream->pad, event); } diff --git a/gstplugins_base/gst-libs/gst/audio/gstaudiodecoder.c b/gstplugins_base/gst-libs/gst/audio/gstaudiodecoder.c index be8b408d707ed64ebffaeab99330c472f2addfdc..9e9ac1348bd823431f9735776067b2ea731f64d1 100644 --- a/gstplugins_base/gst-libs/gst/audio/gstaudiodecoder.c +++ b/gstplugins_base/gst-libs/gst/audio/gstaudiodecoder.c @@ -1061,7 +1061,7 @@ gst_audio_decoder_push_forward (GstAudioDecoder * dec, GstBuffer * buf) // ohos.opt.performance.0006: the PTS segment of the first frame is calibrated to improve the performance. if (!priv->has_push_first_frame && GST_BUFFER_PTS (buf) != GST_CLOCK_TIME_NONE) { priv->has_push_first_frame = TRUE; - GST_WARNING_OBJECT (dec, "audiodecoder push first frame"); + GST_DEBUG_OBJECT (dec, "audiodecoder push first frame"); dec->output_segment.flags |= GST_SEGMENT_FLAG_FIRST_FRAME; dec->output_segment.start = GST_BUFFER_PTS (buf); GstEvent *event = gst_event_new_segment (&dec->output_segment); diff --git a/gstreamer/libs/gst/base/gstbasesink.c b/gstreamer/libs/gst/base/gstbasesink.c index ec28b1e98c1350c832b4a08323d59de98f48024e..8038b128cb5ffce557e17d385eabf6e56716a376 100644 --- a/gstreamer/libs/gst/base/gstbasesink.c +++ b/gstreamer/libs/gst/base/gstbasesink.c @@ -3926,7 +3926,7 @@ kpi_log_fps(GstBaseSink *basesink) if (fps_time_diff >= GST_MSECOND) { gdouble time_sec = (gdouble)fps_time_diff / GST_MSECOND; gdouble fps = (priv->rendered - priv->tmp_render_nums_fps) / time_sec; - GST_WARNING_OBJECT (basesink, "KPI-TRACE: fps=%f, time=%f, render nums=%" G_GUINT64_FORMAT, + GST_DEBUG_OBJECT (basesink, "KPI-TRACE: fps=%f, time=%f, render nums=%" G_GUINT64_FORMAT, fps, time_sec, priv->rendered); priv->tmp_render_nums_fps = priv->rendered; priv->tmp_time_fps = curtime; diff --git a/gstreamer/plugins/elements/gstmultiqueue.c b/gstreamer/plugins/elements/gstmultiqueue.c index 31a5f0fc1cb2dbdacd83fd7ca03bb1f3c51a8efb..f1bb71663bfb9aa4d1c33abb629b7ff06994f0ea 100644 --- a/gstreamer/plugins/elements/gstmultiqueue.c +++ b/gstreamer/plugins/elements/gstmultiqueue.c @@ -2375,7 +2375,7 @@ next: #ifdef OHOS_EXT_FUNC // ohos.ext.func.0043 Clear data in the multiqueue to speed up switching bitrate if (GST_IS_EVENT (object) && GST_EVENT_TYPE (GST_EVENT_CAST (object)) == GST_EVENT_TAG) { - GST_WARNING_OBJECT (mq, "SingleQueue %d pop tag: %" GST_PTR_FORMAT, sq->id, GST_EVENT_CAST (object)); + GST_DEBUG_OBJECT (mq, "SingleQueue %d pop tag: %" GST_PTR_FORMAT, sq->id, GST_EVENT_CAST (object)); GstTagList *tagList; guint bandwidth; guint64 position; @@ -2399,7 +2399,7 @@ next: return; } } else { - GST_WARNING_OBJECT (mq, "first bandwidth is %u", bandwidth); + GST_DEBUG_OBJECT (mq, "first bandwidth is %u", bandwidth); mq->first_bitrate = bandwidth; } if (!sq->drop_mode) { @@ -2408,7 +2408,7 @@ next: } else { mq->position = position; } - GST_WARNING_OBJECT (mq, "slice-position is %" G_GUINT64_FORMAT, mq->position); + GST_DEBUG_OBJECT (mq, "slice-position is %" G_GUINT64_FORMAT, mq->position); } } g_mutex_unlock (&mq->m3u8_lock); @@ -2908,7 +2908,7 @@ gst_multi_queue_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) g_mutex_lock (&mq->m3u8_lock); mq->position = GST_CLOCK_TIME_NONE; g_mutex_unlock (&mq->m3u8_lock); - GST_WARNING_OBJECT (mq, "Flush start, clean m3u8 position"); + GST_DEBUG_OBJECT (mq, "Flush start, clean m3u8 position"); #endif gst_single_queue_flush (mq, sq, TRUE, FALSE); gst_single_queue_pause (mq, sq);