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
This commit is contained in:
Tony Jinwoo Ahn 2018-10-04 00:47:46 +09:00 committed by Sebastian Dröge
parent 40c51b1d9f
commit d8ce611a3a
2 changed files with 4 additions and 4 deletions

View file

@ -58,9 +58,9 @@ static void print_pad_templates_information (GstElementFactory * factory) {
g_print (" Availability: Always\n"); g_print (" Availability: Always\n");
else if (padtemplate->presence == GST_PAD_SOMETIMES) else if (padtemplate->presence == GST_PAD_SOMETIMES)
g_print (" Availability: Sometimes\n"); 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"); g_print (" Availability: On request\n");
} else else
g_print (" Availability: UNKNOWN!!!\n"); g_print (" Availability: UNKNOWN!!!\n");
if (padtemplate->static_caps.string) { if (padtemplate->static_caps.string) {

View file

@ -183,9 +183,9 @@ static void print_pad_templates_information (GstElementFactory * factory) {
g_print (" Availability: Always\n"); g_print (" Availability: Always\n");
else if (padtemplate->presence == GST_PAD_SOMETIMES) else if (padtemplate->presence == GST_PAD_SOMETIMES)
g_print (" Availability: Sometimes\n"); 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"); g_print (" Availability: On request\n");
} else else
g_print (" Availability: UNKNOWN!!!\n"); g_print (" Availability: UNKNOWN!!!\n");
if (padtemplate->static_caps.string) { if (padtemplate->static_caps.string) {