Lines Matching refs:prop_id
74 static void gst_test_set_property (GObject * object, guint prop_id,
76 static void gst_test_get_property (GObject * object, guint prop_id,
262 gst_test_set_property (GObject * object, guint prop_id, in gst_test_set_property() argument
267 if (prop_id == 0 || prop_id > 2 * TESTS_COUNT) { in gst_test_set_property()
268 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); in gst_test_set_property()
272 if (prop_id % 2) { in gst_test_set_property()
274 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); in gst_test_set_property()
278 g_value_copy (value, &test->values[prop_id / 2 - 1]); in gst_test_set_property()
284 gst_test_get_property (GObject * object, guint prop_id, GValue * value, in gst_test_get_property() argument
288 guint id = (prop_id - 1) / 2; in gst_test_get_property()
290 if (prop_id == 0 || prop_id > 2 * TESTS_COUNT) { in gst_test_get_property()
291 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); in gst_test_get_property()
297 if (prop_id % 2) { in gst_test_get_property()