Add better debug info

Add some better debug info.
This commit is contained in:
Wim Taymans 2009-02-18 17:49:03 +01:00
parent da0ef4a014
commit b70a6c9d83

View file

@ -830,7 +830,7 @@ gst_rtsp_media_play (GstRTSPMedia *media, GArray *transports)
g_signal_emit_by_name (stream->udpsink[1], "add", trans->destination, trans->client_port.max, NULL);
}
g_message ("playing");
g_message ("playing media %p", media);
media->target_state = GST_STATE_PLAYING;
ret = gst_element_set_state (media->pipeline, GST_STATE_PLAYING);
@ -882,7 +882,7 @@ gst_rtsp_media_pause (GstRTSPMedia *media, GArray *transports)
g_signal_emit_by_name (stream->udpsink[1], "remove", trans->destination, trans->client_port.max, NULL);
}
g_message ("pause");
g_message ("pause media %p", media);
media->target_state = GST_STATE_PAUSED;
ret = gst_element_set_state (media->pipeline, GST_STATE_PAUSED);
@ -912,7 +912,7 @@ gst_rtsp_media_stop (GstRTSPMedia *media, GArray *transports)
gst_rtsp_media_pause (media, transports);
g_message ("stop");
g_message ("stop media %p", media);
media->target_state = GST_STATE_NULL;
ret = gst_element_set_state (media->pipeline, GST_STATE_NULL);