diff --git a/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c b/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c index dc59a40c06..8adefeba67 100644 --- a/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c +++ b/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c @@ -2738,13 +2738,16 @@ gst_ts_demux_queue_data (GstTSDemux * demux, TSDemuxStream * stream, } 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; } }