These statements aren't critical per se... and just clutter debug logs.
/* 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) {
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;
}
/* 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
/* 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;
}
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 */
/* 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;
}