} else {
if (!gst_ghost_pad_set_target (GST_GHOST_PAD (self->priv->sinkpad),
sinkpad)) {
- GST_WARNING_OBJECT (self, "Can not set %s:%s as target for %s",
+ GST_WARNING_OBJECT (self, "Can not set %s:%s as target for %s:%s",
GST_DEBUG_PAD_NAME (sinkpad),
GST_DEBUG_PAD_NAME (self->priv->sinkpad));
goto error;
} else {
if (!gst_ghost_pad_set_target (GST_GHOST_PAD (self->priv->srcpad),
srcpad)) {
- GST_WARNING_OBJECT (self, "Can not set %s:%s as target for %s",
+ GST_WARNING_OBJECT (self, "Can not set %s:%s as target for %s:%s",
GST_DEBUG_PAD_NAME (srcpad),
GST_DEBUG_PAD_NAME (self->priv->srcpad));
goto error;
/* Push 10 items */
for (i = 0; i < 10; i++) {
- GST_LOG ("Pushing test buffer %d, caps 1");
+ GST_LOG ("Pushing test buffer %d, caps 1", i);
fail_unless (gst_pad_push (test_src_pad, gst_buffer_new_and_alloc (4096))
== GST_FLOW_OK);
}
/* Push 10 more items */
for (i = 0; i < 10; i++) {
- GST_LOG ("Pushing test buffer %d, caps 2");
+ GST_LOG ("Pushing test buffer %d, caps 2", i);
fail_unless (gst_pad_push (test_src_pad, gst_buffer_new_and_alloc (4096))
== GST_FLOW_OK);
}