mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
pad-monitor: add check for out of segment buffers
This commit is contained in:
parent
c53b10e5c5
commit
0b90e7bddd
1 changed files with 3 additions and 2 deletions
|
@ -549,8 +549,9 @@ gst_qa_pad_monitor_buffer_probe (GstPad * pad, GstBuffer * buffer,
|
|||
!gst_segment_clip (&monitor->segment, monitor->segment.format,
|
||||
GST_BUFFER_TIMESTAMP (buffer), GST_BUFFER_TIMESTAMP (buffer) +
|
||||
GST_BUFFER_DURATION (buffer), NULL, NULL)) {
|
||||
/* TODO error */
|
||||
g_assert_not_reached ();
|
||||
/* TODO is this a timestamp issue? */
|
||||
GST_QA_MONITOR_REPORT_ISSUE (monitor, BUFFER, TIMESTAMP,
|
||||
"buffer is out of segment and shouldn't be pushed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue