mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
basevideo: Add a warning
Merging previous commit into current codebase.
This commit is contained in:
parent
9b1ee36328
commit
99a88edcc1
1 changed files with 4 additions and 0 deletions
|
@ -840,6 +840,10 @@ gst_base_video_decoder_chain (GstPad * pad, GstBuffer * buf)
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m < 0) {
|
||||||
|
g_warning ("subclass returned negative scan %d", m);
|
||||||
|
}
|
||||||
|
|
||||||
if (m >= n) {
|
if (m >= n) {
|
||||||
GST_ERROR ("subclass scanned past end %d >= %d", m, n);
|
GST_ERROR ("subclass scanned past end %d >= %d", m, n);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue