From d8ce611a3a4427c82c182d2c61ae5c093e0e8454 Mon Sep 17 00:00:00 2001 From: Tony Jinwoo Ahn Date: Thu, 4 Oct 2018 00:47:46 +0900 Subject: [PATCH] basic-tutorial-6: Remove trailing bracket for code consistency To make consistency with code nearby, remove bracket https://bugzilla.gnome.org/show_bug.cgi?id=797243 --- examples/tutorials/basic-tutorial-6.c | 4 ++-- .../tutorials/basic/media-formats-and-pad-capabilities.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/tutorials/basic-tutorial-6.c b/examples/tutorials/basic-tutorial-6.c index 04584db7df..22c6610e03 100644 --- a/examples/tutorials/basic-tutorial-6.c +++ b/examples/tutorials/basic-tutorial-6.c @@ -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) { diff --git a/markdown/tutorials/basic/media-formats-and-pad-capabilities.md b/markdown/tutorials/basic/media-formats-and-pad-capabilities.md index a4f613ce98..5bf66e3414 100644 --- a/markdown/tutorials/basic/media-formats-and-pad-capabilities.md +++ b/markdown/tutorials/basic/media-formats-and-pad-capabilities.md @@ -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) {