I think we just remove this tsmf_gstreamer_state_name() function entirely - see [gst_element_state_get_name()](http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-state-get-name).