mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 15:36:35 +00:00
check: also debug the DTS
This commit is contained in:
parent
a495701900
commit
04d5233287
1 changed files with 4 additions and 2 deletions
|
@ -46,8 +46,10 @@ source_pad_data_cb (GstPad * pad, GstProbeType type, GstMiniObject * data,
|
||||||
GstStreamConsistency * consist)
|
GstStreamConsistency * consist)
|
||||||
{
|
{
|
||||||
if (GST_IS_BUFFER (data)) {
|
if (GST_IS_BUFFER (data)) {
|
||||||
GST_DEBUG_OBJECT (pad, "Buffer %" GST_TIME_FORMAT,
|
GST_DEBUG_OBJECT (pad,
|
||||||
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (GST_BUFFER (data))));
|
"Buffer pts %" GST_TIME_FORMAT ", dts %" GST_TIME_FORMAT,
|
||||||
|
GST_TIME_ARGS (GST_BUFFER_PTS (GST_BUFFER_CAST (data))),
|
||||||
|
GST_TIME_ARGS (GST_BUFFER_DTS (GST_BUFFER_CAST (data))));
|
||||||
/* If an EOS went through, a buffer would be invalid */
|
/* If an EOS went through, a buffer would be invalid */
|
||||||
fail_if (consist->eos, "Buffer received after EOS");
|
fail_if (consist->eos, "Buffer received after EOS");
|
||||||
/* Buffers need to be preceded by a segment event */
|
/* Buffers need to be preceded by a segment event */
|
||||||
|
|
Loading…
Reference in a new issue