summaryrefslogtreecommitdiff
path: root/gst/gstnicesink.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstnicesink.c')
-rw-r--r--gst/gstnicesink.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/gstnicesink.c b/gst/gstnicesink.c
index 77d6ba0..04f7fa1 100644
--- a/gst/gstnicesink.c
+++ b/gst/gstnicesink.c
@@ -176,6 +176,10 @@ gst_nice_sink_set_property (
case PROP_COMPONENT:
sink->component_id = g_value_get_uint (value);
break;
+
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
}
}
@@ -201,6 +205,10 @@ gst_nice_sink_get_property (
case PROP_COMPONENT:
g_value_set_uint (value, sink->component_id);
break;
+
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
}
}