GstFlowReturn ret = GST_FLOW_OK;
guint8 slen, ber[9];
- GST_DEBUG_OBJECT (mux,
+ GST_DEBUG_OBJECT (cpad->collect.pad,
"Handling buffer of size %u for track %u at position %" G_GINT64_FORMAT,
GST_BUFFER_SIZE (buf), cpad->source_track->parent.track_id, cpad->pos);
}
if (!eos && best) {
- GST_DEBUG_OBJECT (mux, "Handling buffer for pad '%" GST_PTR_FORMAT "'",
- best->collect.pad);
ret = gst_mxf_mux_handle_buffer (mux, best);
if (ret != GST_FLOW_OK)
goto error;
gst_mxf_mux_handle_eos (mux);
gst_pad_push_event (mux->srcpad, gst_event_new_eos ());
return GST_FLOW_UNEXPECTED;
- } else {
- return GST_FLOW_OK;
}
+ return GST_FLOW_OK;
+
error:
{
mux->state = GST_MXF_MUX_STATE_ERROR;