summaryrefslogtreecommitdiff
path: root/gst/debugutils
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-04-28 16:02:27 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-04-28 16:02:27 +0100
commitf0a9c246a37eaf7ba67338f5362ceddf9a74676d (patch)
tree6bfffa3554ab8e8d1b4022884e522fc273dff034 /gst/debugutils
parentda113b5ad7976c001633c7f79a2b8b95935f8176 (diff)
gst: remove some unnecessary glib version checks
We require 2.32, no need to check for anything older than that.
Diffstat (limited to 'gst/debugutils')
-rw-r--r--gst/debugutils/fpsdisplaysink.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c
index 1970baf4b9..a2ee5832f1 100644
--- a/gst/debugutils/fpsdisplaysink.c
+++ b/gst/debugutils/fpsdisplaysink.c
@@ -435,11 +435,7 @@ display_current_fps (gpointer data)
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;
@@ -521,11 +517,7 @@ fps_display_sink_stop (GstFPSDisplaySink * self)
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);