ret = th_decode_headerin (&parse->info, &parse->comment, &setup, &packet);
gst_buffer_unmap (buf, &map);
if (ret < 0) {
- GST_WARNING_OBJECT (parse, "Failed to decode Theora header %d: %d\n",
+ GST_WARNING_OBJECT (parse, "Failed to decode Theora header %d: %d",
i + 1, ret);
}
}
presence = g_ascii_strtoll (strpresence_v[1], &endptr, 10);
if (endptr == strpresence_v[1]) {
- GST_ERROR ("Wrong presence %s\n", strpresence_v[1]);
+ GST_ERROR ("Wrong presence %s", strpresence_v[1]);
return NULL;
}
gst_structure_remove_field (s, "alignment");
}
- GST_LOG ("Stream: %" GST_PTR_FORMAT "\n", caps);
+ GST_LOG ("Stream: %" GST_PTR_FORMAT, caps);
if (GST_IS_DISCOVERER_AUDIO_INFO (sinfo)) {
sprofile =
(GstEncodingProfile *) gst_encoding_audio_profile_new (caps, NULL,
return NULL;
caps = gst_discoverer_stream_info_get_caps (sinfo);
- GST_LOG ("Container: %" GST_PTR_FORMAT "\n", caps);
+ GST_LOG ("Container: %" GST_PTR_FORMAT, caps);
profile =
gst_encoding_container_profile_new ("auto-generated",
"Automatically generated from GstDiscovererInfo", caps, NULL);
tmp = g_strdup_printf ("%d nack", caps_pt);
gst_sdp_media_add_attribute (media, "rtcp-fb", tmp);
g_free (tmp);
- GST_DEBUG ("adding rtcp-fb-nack to pt=%d\n", caps_pt);
+ GST_DEBUG ("adding rtcp-fb-nack to pt=%d", caps_pt);
}
}
tmp = g_strdup_printf ("%d nack pli", caps_pt);
gst_sdp_media_add_attribute (media, "rtcp-fb", tmp);
g_free (tmp);
- GST_DEBUG ("adding rtcp-fb-nack-pli to pt=%d\n", caps_pt);
+ GST_DEBUG ("adding rtcp-fb-nack-pli to pt=%d", caps_pt);
}
}
tmp = g_strdup_printf ("%d ccm fir", caps_pt);
gst_sdp_media_add_attribute (media, "rtcp-fb", tmp);
g_free (tmp);
- GST_DEBUG ("adding rtcp-fb-ccm-fir to pt=%d\n", caps_pt);
+ GST_DEBUG ("adding rtcp-fb-ccm-fir to pt=%d", caps_pt);
}
}
if ((utf8 =
g_convert (start, size, "UTF-8", *c, &bytes_read, NULL, NULL))) {
if (bytes_read == size) {
- GST_DEBUG ("Using charset %s to interperate id3 tags\n", *c);
+ GST_DEBUG ("Using charset %s to interpret id3 tags", *c);
g_strfreev (csets);
goto beach;
}
if (data0 != first_sync && prob >= 10)
prob -= 10;
- GST_LOG ("Suggesting MPEG %d system stream, %d packs, %d pes, prob %u%%\n",
+ GST_LOG ("Suggesting MPEG %d system stream, %d packs, %d pes, prob %u%%",
mpegversion, pack_headers, pes_headers, prob);
gst_type_find_suggest_simple (tf, prob, "video/mpeg",
ASSERT_STRINGS_EQUAL (gst_tag_get_language_code_iso_639_1 (c2t), *c);
ASSERT_STRINGS_EQUAL (gst_tag_get_language_code_iso_639_1 (c2b), *c);
- GST_DEBUG ("[%s] %s %s %s : %s\n", *c, c1, c2t, c2b, lang_name);
+ GST_DEBUG ("[%s] %s %s %s : %s", *c, c1, c2t, c2b, lang_name);
}
g_strfreev (lang_codes);
GstClockTime start, end;
GstBuffer *buf;
- GST_LOG_OBJECT (pad, "Fired probe type 0x%x\n", info->type);
+ GST_LOG_OBJECT (pad, "Fired probe type 0x%x", info->type);
if (info->type & GST_PAD_PROBE_TYPE_BUFFER_LIST) {
g_warning ("Buffer list handling not implemented");