debugutils: fix case of pad flag
authorStefan Kost <ensonic@users.sf.net>
Fri, 26 Feb 2010 07:29:23 +0000 (09:29 +0200)
committerStefan Kost <ensonic@users.sf.net>
Mon, 15 Mar 2010 09:16:44 +0000 (11:16 +0200)
Due to a typo the code was always showing the flag as 's' (lower case).
Fixes #611075

gst/gstdebugutils.c

index aac2807..12ee17b 100644 (file)
@@ -166,7 +166,7 @@ debug_dump_pad (GstPad * pad, const gchar * color_name,
     pad_flags[0] = GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_BLOCKED) ? 'B' : 'b';
     pad_flags[1] = GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLUSHING) ? 'F' : 'f';
     pad_flags[2] = GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_IN_GETCAPS) ? 'G' : 'g';
-    pad_flags[3] = GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_IN_SETCAPS) ? 's' : 's';
+    pad_flags[3] = GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_IN_SETCAPS) ? 'S' : 's';
     pad_flags[4] = GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_BLOCKING) ? 'B' : 'b';
     pad_flags[5] = '\0';