summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-06-29 14:11:24 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-06-29 14:11:24 +0000
commitddf42d077245c96b2cf7f3cadeddd56545d72f47 (patch)
treecb906e5618ba31c14a24df70e3f265c0e465de13
parent947df9b38dd52cd46a5bc75840e45e05280b5bdb (diff)
downloadgst-plugins-bad-ddf42d077245c96b2cf7f3cadeddd56545d72f47.tar.gz
gst-plugins-bad-ddf42d077245c96b2cf7f3cadeddd56545d72f47.tar.bz2
gst-plugins-bad-ddf42d077245c96b2cf7f3cadeddd56545d72f47.zip
ext/dc1394/gstdc1394.c: Change a g_print to a GST_DEBUG message.
Original commit message from CVS: * ext/dc1394/gstdc1394.c: (gst_dc1394_set_caps_color): Change a g_print to a GST_DEBUG message.
-rw-r--r--ChangeLog5
-rw-r--r--ext/dc1394/gstdc1394.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 636db208..ea49d124 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-06-29 Jan Schmidt <thaytan@mad.scientist.com>
+ * ext/dc1394/gstdc1394.c: (gst_dc1394_set_caps_color):
+ Change a g_print to a GST_DEBUG message.
+
+2007-06-29 Jan Schmidt <thaytan@mad.scientist.com>
+
* configure.ac:
* ext/Makefile.am:
* ext/dc1394/Makefile.am:
diff --git a/ext/dc1394/gstdc1394.c b/ext/dc1394/gstdc1394.c
index 9af620a6..7c899833 100644
--- a/ext/dc1394/gstdc1394.c
+++ b/ext/dc1394/gstdc1394.c
@@ -659,8 +659,9 @@ gst_dc1394_set_caps_color (GstStructure * gs, gint mc)
// there is no fourcc for this format
break;
default:
+ GST_DEBUG ("Ignoring unsupported color format %d", mc);
ret = FALSE;
- printf ("We should never get here; invalid color mode!!\n");
+ break;
}
return ret;
}