glimagesink: improve state change debug message

This commit is contained in:
Matthieu Bouron 2014-05-25 21:43:22 +01:00 committed by Matthew Waters
parent 59088f5a90
commit dac4816823

View file

@ -507,7 +507,9 @@ gst_glimage_sink_change_state (GstElement * element, GstStateChange transition)
GstGLImageSink *glimage_sink;
GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS;
GST_DEBUG ("change state");
GST_DEBUG ("changing state: %s => %s",
gst_element_state_get_name (GST_STATE_TRANSITION_CURRENT (transition)),
gst_element_state_get_name (GST_STATE_TRANSITION_NEXT (transition)));
glimage_sink = GST_GLIMAGE_SINK (element);