projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
079dde4
)
deinterlace: fix off-by-one crash when downstream caps contain a list of framerates
author
Tim-Philipp Müller
<tim@centricular.com>
Sun, 1 Dec 2013 23:32:20 +0000
(23:32 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sun, 1 Dec 2013 23:33:04 +0000
(23:33 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=719544
gst/deinterlace/gstdeinterlace.c
patch
|
blob
|
history
diff --git
a/gst/deinterlace/gstdeinterlace.c
b/gst/deinterlace/gstdeinterlace.c
index
518734e
..
e13c41b
100644
(file)
--- a/
gst/deinterlace/gstdeinterlace.c
+++ b/
gst/deinterlace/gstdeinterlace.c
@@
-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;