mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
deinterlace: fix off-by-one crash when downstream caps contain a list of framerates
https://bugzilla.gnome.org/show_bug.cgi?id=719544
This commit is contained in:
parent
079dde49ed
commit
63b0e84add
1 changed files with 1 additions and 1 deletions
|
@ -2223,7 +2223,7 @@ gst_deinterlace_getcaps (GstDeinterlace * self, GstPad * pad, GstCaps * filter)
|
|||
for (i = gst_value_list_get_size (val); i > 0; i--) {
|
||||
gint n, d;
|
||||
|
||||
lval = gst_value_list_get_value (val, i);
|
||||
lval = gst_value_list_get_value (val, i - 1);
|
||||
|
||||
if (G_VALUE_TYPE (lval) != GST_TYPE_FRACTION)
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue