g_free (self->last_message);
self->last_message = g_strdup (fps_message);
GST_OBJECT_UNLOCK (self);
-#if !GLIB_CHECK_VERSION(2,26,0)
- g_object_notify ((GObject *) self, "last-message");
-#else
g_object_notify_by_pspec ((GObject *) self, pspec_last_message);
-#endif
}
self->last_frames_rendered = frames_rendered;
g_free (self->last_message);
self->last_message = str;
GST_OBJECT_UNLOCK (self);
-#if !GLIB_CHECK_VERSION(2,26,0)
- g_object_notify ((GObject *) self, "last-message");
-#else
g_object_notify_by_pspec ((GObject *) self, pspec_last_message);
-#endif
}
GST_OBJECT_LOCK (self);
GstInterTest *intertest2;
GMainLoop *main_loop;
-#if !GLIB_CHECK_VERSION (2, 31, 0)
- if (!g_thread_supported ())
- g_thread_init (NULL);
-#endif
-
context = g_option_context_new ("- Internal src/sink test");
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
g_option_context_add_group (context, gst_init_get_option_group ());
adder = GST_LIVE_ADDER (element);
/* increment pad counter */
-#if GLIB_CHECK_VERSION(2,29,5)
padcount = g_atomic_int_add (&adder->padcount, 1);
-#else
- padcount = g_atomic_int_exchange_and_add (&adder->padcount, 1);
-#endif
name = g_strdup_printf ("sink_%u", padcount);
newpad = gst_pad_new_from_template (templ, name);