diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-08-10 12:04:39 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-08-10 12:04:39 +0200 |
commit | 305e80e7d6d6e1e25f4ec4aa4c1f51b195ab7a74 (patch) | |
tree | 76406129fc91c1975b42fc119f2d2b3fd18d884c | |
parent | 0111edbf5de64ffbe854e19b36f9cebe6e61682f (diff) |
gstffmpeg: Lower debugging levels from WARNING to DEBUG
These statements aren't critical per se... and just clutter debug logs.
-rw-r--r-- | ext/ffmpeg/gstffmpegdec.c | 6 | ||||
-rw-r--r-- | ext/ffmpeg/gstffmpegdemux.c | 3 | ||||
-rw-r--r-- | ext/ffmpeg/gstffmpegenc.c | 6 | ||||
-rw-r--r-- | ext/ffmpeg/gstffmpegmux.c | 7 |
4 files changed, 14 insertions, 8 deletions
diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index 0b03fca..30c761b 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -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; } diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c index 0b9fa19..3681497 100644 --- a/ext/ffmpeg/gstffmpegdemux.c +++ b/ext/ffmpeg/gstffmpegdemux.c @@ -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 diff --git a/ext/ffmpeg/gstffmpegenc.c b/ext/ffmpeg/gstffmpegenc.c index 1ea66b6..ed5cad3 100644 --- a/ext/ffmpeg/gstffmpegenc.c +++ b/ext/ffmpeg/gstffmpegenc.c @@ -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 */ diff --git a/ext/ffmpeg/gstffmpegmux.c b/ext/ffmpeg/gstffmpegmux.c index 3afdf23..86e68e5 100644 --- a/ext/ffmpeg/gstffmpegmux.c +++ b/ext/ffmpeg/gstffmpegmux.c @@ -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; } |