mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +00:00
deinterlace: fix arithmetic for unsigned comparison
This commit is contained in:
parent
a973c0b381
commit
9d771c9bed
1 changed files with 2 additions and 2 deletions
|
@ -1706,8 +1706,8 @@ restart:
|
||||||
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (self->srcpad));
|
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (self->srcpad));
|
||||||
}
|
}
|
||||||
|
|
||||||
g_return_val_if_fail (self->history_count - 1 -
|
g_return_val_if_fail (self->history_count >=
|
||||||
gst_deinterlace_method_get_latency (self->method) >= 0, GST_FLOW_ERROR);
|
1 + gst_deinterlace_method_get_latency (self->method), GST_FLOW_ERROR);
|
||||||
|
|
||||||
buf =
|
buf =
|
||||||
self->field_history[self->history_count - 1 -
|
self->field_history[self->history_count - 1 -
|
||||||
|
|
Loading…
Reference in a new issue