diff --git a/gst-sdk/tutorials/playback-tutorial-1.c b/gst-sdk/tutorials/playback-tutorial-1.c index 196edad6ac..e457de68ee 100644 --- a/gst-sdk/tutorials/playback-tutorial-1.c +++ b/gst-sdk/tutorials/playback-tutorial-1.c @@ -193,6 +193,8 @@ static gboolean handle_message (GstBus *bus, GstMessage *msg, CustomData *data) } } } break; + default: + break; } /* We want to keep receiving messages */ diff --git a/gst-sdk/tutorials/playback-tutorial-2.c b/gst-sdk/tutorials/playback-tutorial-2.c index 8e5ee15f8d..bd11fbb23d 100644 --- a/gst-sdk/tutorials/playback-tutorial-2.c +++ b/gst-sdk/tutorials/playback-tutorial-2.c @@ -195,6 +195,8 @@ static gboolean handle_message (GstBus *bus, GstMessage *msg, CustomData *data) } } } break; + default: + break; } /* We want to keep receiving messages */