sys/oss/gstosshelper.c: Use GST_WARNING instead of a g_critical. This situation is...
authorStefan Kost <ensonic@users.sourceforge.net>
Sun, 23 Sep 2007 18:57:14 +0000 (18:57 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Sun, 23 Sep 2007 18:57:14 +0000 (18:57 +0000)
Original commit message from CVS:
* sys/oss/gstosshelper.c:
Use GST_WARNING instead of a g_critical. This situation is not caused
by the application.

ChangeLog
sys/oss/gstosshelper.c

index 3099494..052c53e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-23  Stefan Kost  <ensonic@users.sf.net>
+
+       * sys/oss/gstosshelper.c:
+         Use GST_WARNING instead of a g_critical. This situation is not caused
+         by the application.
+
 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * po/LINGUAS:
index 192a206..38b3689 100644 (file)
@@ -154,9 +154,10 @@ gst_oss_helper_probe_caps (gint fd)
     }
   }
 
-  if (gst_caps_is_empty (caps))
+  if (gst_caps_is_empty (caps)) {
     /* fixme: make user-visible */
-    g_critical ("Your OSS device could not be probed correctly");
+    GST_WARNING ("Your OSS device could not be probed correctly");
+  }
 
   GST_DEBUG ("probed caps: %" GST_PTR_FORMAT, caps);