diff --git a/ext/vorbis/vorbisdec.c b/ext/vorbis/vorbisdec.c
index 6b3f725..48faab7 100644
--- a/ext/vorbis/vorbisdec.c
+++ b/ext/vorbis/vorbisdec.c
@@ -1335,6 +1335,8 @@ vorbis_dec_chain_reverse (GstVorbisDec * vd, gboolean discont, GstBuffer * buf)
 {
   GstFlowReturn result = GST_FLOW_OK;
 
+  fprintf(stderr,"vorbis_dec_chain_reverse: vd=%p\n", vd);
+  
   /* if we have a discont, move buffers to the decode list */
   if (G_UNLIKELY (discont)) {
     GST_DEBUG_OBJECT (vd, "received discont");
@@ -1380,8 +1382,11 @@ vorbis_dec_chain (GstPad * pad, GstBuffer * buffer)
   GstFlowReturn result = GST_FLOW_OK;
   gboolean discont;
 
+  
   vd = GST_VORBIS_DEC (gst_pad_get_parent (pad));
 
+  fprintf(stderr,"vorbis_dec_chain: vd=%p\n", vd);
+
   discont = GST_BUFFER_FLAG_IS_SET (buffer, GST_BUFFER_FLAG_DISCONT);
 
   /* resync on DISCONT */
@@ -1412,18 +1417,24 @@ vorbis_dec_change_state (GstElement * element, GstStateChange transition)
   GstVorbisDec *vd = GST_VORBIS_DEC (element);
   GstStateChangeReturn res;
 
+  fprintf(stderr,"vorbis_dec_change_state: %p, 0x%x\n", vd, transition);
+  
   switch (transition) {
     case GST_STATE_CHANGE_NULL_TO_READY:
+      fprintf(stderr,"NULL to READY\n");
       break;
     case GST_STATE_CHANGE_READY_TO_PAUSED:
+      fprintf(stderr,"READY to PAUSED\n");
       vorbis_info_init (&vd->vi);
       vorbis_comment_init (&vd->vc);
       vd->initialized = FALSE;
       gst_vorbis_dec_reset (vd);
       break;
     case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
+      fprintf(stderr,"PAUSED to PLAYING\n");
       break;
     default:
+      fprintf(stderr,"  default case 1: 0x%x\n", transition);
       break;
   }
 
@@ -1431,8 +1442,10 @@ vorbis_dec_change_state (GstElement * element, GstStateChange transition)
 
   switch (transition) {
     case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
+      fprintf(stderr,"PLAYING to PAUSED\n");
       break;
     case GST_STATE_CHANGE_PAUSED_TO_READY:
+      fprintf(stderr,"PAUSED to READY\n");
       GST_DEBUG_OBJECT (vd, "PAUSED -> READY, clearing vorbis structures");
       vd->initialized = FALSE;
       vorbis_block_clear (&vd->vb);
@@ -1442,8 +1455,10 @@ vorbis_dec_change_state (GstElement * element, GstStateChange transition)
       gst_vorbis_dec_reset (vd);
       break;
     case GST_STATE_CHANGE_READY_TO_NULL:
+      fprintf(stderr,"READY to NULL\n");
       break;
     default:
+        fprintf(stderr,"  default case 2: 0x%x\n", transition);
       break;
   }
 
