omx: Fix trivial debug print bug
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 25 Apr 2012 13:33:48 +0000 (19:03 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 26 Apr 2012 04:12:54 +0000 (09:42 +0530)
omx/gstomx.c

index d514220..53d300f 100644 (file)
@@ -1006,7 +1006,8 @@ retry:
     GST_DEBUG_OBJECT (comp->parent, "Queue of port %u is empty", port->index);
     g_cond_wait (port->port_cond, port->port_lock);
   } else {
-    GST_DEBUG_OBJECT (comp->parent, "Port %u has pending buffers");
+    GST_DEBUG_OBJECT (comp->parent, "Port %u has pending buffers",
+        port->pending_buffers);
     _buf = g_queue_pop_head (port->pending_buffers);
     ret = GST_OMX_ACQUIRE_BUFFER_OK;
     goto done;