Anonymous
public text v1 · immutable g_debug ("Changing state of the pipeline to PAUSED");
ret = gst_element_set_state (self->priv->pipeline, GST_STATE_PAUSED);
g_debug ("Waiting for state to change to PAUSED - %d", ret);
ret = gst_element_get_state (self->priv->pipeline, &state, NULL, GST_CLOCK_TIME_NONE);
g_debug ("Changing state of the pipeline to PLAYING - %d", ret);
gst_element_set_state (self->priv->pipeline, GST_STATE_PLAYING);