mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
tsdemux: Add pad-name to warning for continuity mismatch
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3141>
This commit is contained in:
parent
db2146d0ea
commit
ccb0e6e435
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue