gstffmpeg: Lower debugging levels from WARNING to DEBUG

These statements aren't critical per se... and just clutter debug logs.
This commit is contained in:
Edward Hervey 2009-08-10 12:04:39 +02:00
parent 0111edbf5d
commit 305e80e7d6
4 changed files with 14 additions and 8 deletions

View file

@ -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;
}

View file

@ -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

View file

@ -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 */

View file

@ -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;
}