basevideo: Add a warning
Merging previous commit into current codebase.
This commit is contained in:
parent
9b1ee36328
commit
99a88edcc1
@ -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…
x
Reference in New Issue
Block a user