From a61489df5353b2b425223d84d0abaf7829642f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 17 Nov 2012 00:10:20 +0000 Subject: [PATCH] ges-track-effect: don't use deprecated API --- ges/ges-track-effect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ges/ges-track-effect.c b/ges/ges-track-effect.c index 74d6723b0c..bbe33b8a95 100644 --- a/ges/ges-track-effect.c +++ b/ges/ges-track-effect.c @@ -122,7 +122,8 @@ ges_track_effect_get_props_hashtable (GESTrackObject * self) GstElement *child = g_value_get_object (&item); factory = gst_element_get_factory (child); - klass = gst_element_factory_get_klass (factory); + klass = gst_element_factory_get_metadata (factory, + GST_ELEMENT_METADATA_KLASS); GST_DEBUG ("Looking at element '%s' of klass '%s'", GST_ELEMENT_NAME (child), klass);