From 89283ef3fead669f3dbd59e5ce186d1b89fd117e Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 16 Jul 2015 13:44:07 +0200 Subject: [PATCH] validate:ssim: Fix calls to the converters We were mixing them --- validate/gst-libs/gst/video/gstvalidatessim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/gst-libs/gst/video/gstvalidatessim.c b/validate/gst-libs/gst/video/gstvalidatessim.c index 8bbdc959fa..1ce706a18e 100644 --- a/validate/gst-libs/gst/video/gstvalidatessim.c +++ b/validate/gst-libs/gst/video/gstvalidatessim.c @@ -285,7 +285,7 @@ gst_validate_ssim_compare_frames (GstValidateSsim * self, else converted_frame1 = *ref_frame; - convinfo2 = (SSimConverterInfo *) g_list_nth_data (self->priv->converters, 0); + convinfo2 = (SSimConverterInfo *) g_list_nth_data (self->priv->converters, 1); if (convinfo2->converter) gst_validate_ssim_convert (self, convinfo2, frame, &converted_frame2); else