gstffmpeg: Lower debugging levels from WARNING to DEBUG
authorEdward Hervey <bilboed@bilboed.com>
Mon, 10 Aug 2009 10:04:39 +0000 (12:04 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 10 Aug 2009 10:04:39 +0000 (12:04 +0200)
These statements aren't critical per se... and just clutter debug logs.

ext/ffmpeg/gstffmpegdec.c
ext/ffmpeg/gstffmpegdemux.c
ext/ffmpeg/gstffmpegenc.c
ext/ffmpeg/gstffmpegmux.c

index 0b03fca..30c761b 100644 (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;
     }
 
index 0b9fa19..3681497 100644 (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
index 1ea66b6..ed5cad3 100644 (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 */
index 3afdf23..86e68e5 100644 (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;
     }