basic-tutorial-6: Remove trailing bracket for code consistency
authorTony Jinwoo Ahn <tony.jinwoo.ahn@gmail.com>
Wed, 3 Oct 2018 15:47:46 +0000 (00:47 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 11 Oct 2018 13:03:10 +0000 (16:03 +0300)
To make consistency with code nearby, remove bracket

https://bugzilla.gnome.org/show_bug.cgi?id=797243

examples/tutorials/basic-tutorial-6.c
markdown/tutorials/basic/media-formats-and-pad-capabilities.md

index 04584db..22c6610 100644 (file)
@@ -58,9 +58,9 @@ static void print_pad_templates_information (GstElementFactory * factory) {
       g_print ("    Availability: Always\n");
     else if (padtemplate->presence == GST_PAD_SOMETIMES)
       g_print ("    Availability: Sometimes\n");
-    else if (padtemplate->presence == GST_PAD_REQUEST) {
+    else if (padtemplate->presence == GST_PAD_REQUEST)
       g_print ("    Availability: On request\n");
-    else
+    else
       g_print ("    Availability: UNKNOWN!!!\n");
 
     if (padtemplate->static_caps.string) {
index a4f613c..5bf66e3 100644 (file)
@@ -183,9 +183,9 @@ static void print_pad_templates_information (GstElementFactory * factory) {
       g_print ("    Availability: Always\n");
     else if (padtemplate->presence == GST_PAD_SOMETIMES)
       g_print ("    Availability: Sometimes\n");
-    else if (padtemplate->presence == GST_PAD_REQUEST) {
+    else if (padtemplate->presence == GST_PAD_REQUEST)
       g_print ("    Availability: On request\n");
-    else
+    else
       g_print ("    Availability: UNKNOWN!!!\n");
 
     if (padtemplate->static_caps.string) {