[x265] [PATCH] csv: fix reference list for non-IDR frames

Divya Manivannan divya at multicorewareinc.com
Wed Sep 14 10:22:17 CEST 2016


# HG changeset patch
# User Divya Manivannan <divya at multicorewareinc.com>
# Date 1473841296 -19800
#      Wed Sep 14 13:51:36 2016 +0530
# Node ID cc77b9922b199d3a3503147643de237a1c6e827d
# Parent  ab2dc2dc2470cc2902799aa38823cbe3d5bee475
csv: fix reference list for non-IDR frames

diff -r ab2dc2dc2470 -r cc77b9922b19 source/x265-extras.cpp
--- a/source/x265-extras.cpp	Tue Sep 13 17:35:02 2016 +0530
+++ b/source/x265-extras.cpp	Wed Sep 14 13:51:36 2016 +0530
@@ -137,7 +137,7 @@
     if (param.bEnableSsim)
         fprintf(csvfp, " %.6f, %6.3f,", frameStats->ssim, x265_ssim2dB(frameStats->ssim));
     fprintf(csvfp, "%d, ", frameStats->frameLatency);
-    if (frameStats->sliceType == 'I')
+    if (frameStats->sliceType == 'I' || frameStats->sliceType == 'i')
         fputs(" -, -,", csvfp);
     else
     {


More information about the x265-devel mailing list