? log.patch
Index: gstosshelper.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/sys/oss/gstosshelper.c,v
retrieving revision 1.11
diff -u -p -r1.11 gstosshelper.c
--- gstosshelper.c	8 Dec 2007 16:47:33 -0000	1.11
+++ gstosshelper.c	24 Feb 2008 20:19:52 -0000
@@ -352,14 +352,20 @@ gst_oss_helper_rate_check_rate (GstOssPr
   GST_LOG ("checking format %d, channels %d, rate %d",
       format, n_channels, rate);
   ret = ioctl (probe->fd, SNDCTL_DSP_SETFMT, &format);
-  if (ret < 0 || format != probe->format)
+  if (ret < 0 || format != probe->format) {
+    GST_DEBUG ("unsupported format");
     return -1;
+  }
   ret = ioctl (probe->fd, SNDCTL_DSP_CHANNELS, &n_channels);
-  if (ret < 0)
+  if (ret < 0) {
+    GST_DEBUG ("unsupported channels");
     return -1;
+  }
   ret = ioctl (probe->fd, SNDCTL_DSP_SPEED, &rate);
-  if (ret < 0)
+  if (ret < 0) {
+    GST_DEBUG ("unsupported rate");
     return -1;
+  }
 
   GST_DEBUG ("rate %d -> %d", irate, rate);
 
