# include "config.h"
#endif
-/* FIXME 0.11: suppress warnings for deprecated API such as GValueArray
+/* FIXME 2.0: suppress warnings for deprecated API such as GValueArray
* with newer GLib versions (>= 2.31.0) */
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#define KNOWN_PARAM_FLAGS \
(G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY | \
G_PARAM_LAX_VALIDATION | G_PARAM_STATIC_STRINGS | \
- G_PARAM_READABLE | G_PARAM_WRITABLE | GST_PARAM_CONTROLLABLE | \
- GST_PARAM_MUTABLE_PLAYING | GST_PARAM_MUTABLE_PAUSED | \
- GST_PARAM_MUTABLE_READY)
+ G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_DEPRECATED | \
+ GST_PARAM_CONTROLLABLE | GST_PARAM_MUTABLE_PLAYING | \
+ GST_PARAM_MUTABLE_PAUSED | GST_PARAM_MUTABLE_READY)
static void
print_element_properties_info (GstElement * element)
g_print ("%s%s", (first_flag) ? "" : ", ", _("writable"));
first_flag = FALSE;
}
+ if (param->flags & G_PARAM_DEPRECATED) {
+ g_print ("%s%s", (first_flag) ? "" : ", ", _("deprecated"));
+ first_flag = FALSE;
+ }
if (param->flags & GST_PARAM_CONTROLLABLE) {
g_print (", %s", _("controllable"));
first_flag = FALSE;