summaryrefslogtreecommitdiffstats
path: root/gst/level/level-example.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/level/level-example.c')
-rw-r--r--gst/level/level-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/level/level-example.c b/gst/level/level-example.c
index ed647de2..3333a8c8 100644
--- a/gst/level/level-example.c
+++ b/gst/level/level-example.c
@@ -7,7 +7,7 @@ gboolean
message_handler (GstBus * bus, GstMessage * message, gpointer data)
{
- if (message->type == GST_MESSAGE_APPLICATION) {
+ if (message->type == GST_MESSAGE_ELEMENT) {
const GstStructure *s = gst_message_get_structure (message);
const gchar *name = gst_structure_get_name (s);