Commit 305e80e7 authored by Edward Hervey's avatar Edward Hervey 🤘

gstffmpeg: Lower debugging levels from WARNING to DEBUG

These statements aren't critical per se... and just clutter debug logs.
parent 0111edbf
......@@ -2816,7 +2816,8 @@ gst_ffmpegdec_register (GstPlugin * plugin)
/* first make sure we've got a supported type */
sinkcaps = gst_ffmpeg_codecid_to_caps (in_plugin->id, NULL, FALSE);
if (!sinkcaps) {
GST_WARNING ("Couldn't get sink caps for decoder '%s'", in_plugin->name);
GST_DEBUG ("Couldn't get sink caps for decoder '%s', skipping codec",
in_plugin->name);
goto next;
}
if (in_plugin->type == CODEC_TYPE_VIDEO) {
......@@ -2826,7 +2827,8 @@ gst_ffmpegdec_register (GstPlugin * plugin)
in_plugin->id, FALSE, in_plugin);
}
if (!srccaps) {
GST_WARNING ("Couldn't get source caps for decoder %s", in_plugin->name);
GST_DEBUG ("Couldn't get source caps for decoder '%s', skipping codec",
in_plugin->name);
goto next;
}
......
......@@ -1962,7 +1962,8 @@ gst_ffmpegdemux_register (GstPlugin * plugin)
/* Try to find the caps that belongs here */
sinkcaps = gst_ffmpeg_formatid_to_caps (name);
if (!sinkcaps) {
GST_WARNING ("Couldn't get sinkcaps for demuxer %s", in_plugin->name);
GST_DEBUG ("Couldn't get sinkcaps for demuxer '%s', skipping format",
in_plugin->name);
goto next;
}
/* This is a bit ugly, but we just take all formats
......
......@@ -1183,7 +1183,8 @@ gst_ffmpegenc_register (GstPlugin * plugin)
/* first make sure we've got a supported type */
if (!(srccaps = gst_ffmpeg_codecid_to_caps (in_plugin->id, NULL, TRUE))) {
GST_WARNING ("Couldn't get source caps for encoder %s", in_plugin->name);
GST_DEBUG ("Couldn't get source caps for encoder '%s', skipping codec",
in_plugin->name);
goto next;
}
......@@ -1195,7 +1196,8 @@ gst_ffmpegenc_register (GstPlugin * plugin)
in_plugin->id, TRUE, in_plugin);
}
if (!sinkcaps) {
GST_WARNING ("Couldn't get sink caps for encoder %s", in_plugin->name);
GST_DEBUG ("Couldn't get sink caps for encoder '%s', skipping codec",
in_plugin->name);
goto next;
}
/* construct the type */
......
......@@ -809,14 +809,15 @@ gst_ffmpegmux_register (GstPlugin * plugin)
/* Try to find the caps that belongs here */
srccaps = gst_ffmpeg_formatid_to_caps (in_plugin->name);
if (!srccaps) {
GST_WARNING ("Couldn't get source caps for muxer %s", in_plugin->name);
GST_DEBUG ("Couldn't get source caps for muxer '%s', skipping format",
in_plugin->name);
goto next;
}
if (!gst_ffmpeg_formatid_get_codecids (in_plugin->name,
&video_ids, &audio_ids, in_plugin)) {
gst_caps_unref (srccaps);
GST_WARNING
("Couldn't get sink caps for muxer %s. Most likely because no input format mapping exists.",
GST_DEBUG
("Couldn't get sink caps for muxer '%s'. Most likely because no input format mapping exists.",
in_plugin->name);
goto next;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment