}
stream->state = PENDING_PACKET_HEADER;
} else {
+ gchar *pad_name = gst_pad_get_name (stream->pad);
GST_ELEMENT_WARNING_WITH_DETAILS (demux, STREAM, DEMUX,
("CONTINUITY: Mismatch packet %d, stream %d (pid 0x%04x)", cc,
stream->continuity_counter, stream->stream.pid), (NULL),
("warning-type", G_TYPE_STRING, "continuity-mismatch",
"packet", G_TYPE_INT, cc,
"stream", G_TYPE_INT, stream->continuity_counter,
- "pid", G_TYPE_UINT, stream->stream.pid, NULL));
+ "pid", G_TYPE_UINT, stream->stream.pid,
+ "pad-name", G_TYPE_STRING, pad_name, NULL));
+ g_free (pad_name);
stream->state = PENDING_PACKET_DISCONT;
}
}