From 87bd26a6db023032b2d7ecd0252b5e45cd564673 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 22 Dec 2015 01:03:47 +0100 Subject: [PATCH] Some comment fixes about frame history. --- defs.h | 2 +- input_state.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defs.h b/defs.h index 9056c59..ef5aefd 100644 --- a/defs.h +++ b/defs.h @@ -7,7 +7,7 @@ #define HEIGHT 720 #define MAX_CARDS 16 -// For deinterlacing. See also comments on Mixer::frame_history. +// For deinterlacing. See also comments on InputState. #define FRAME_HISTORY_LENGTH 5 #define AUDIO_OUTPUT_CODEC AV_CODEC_ID_PCM_S32LE diff --git a/input_state.h b/input_state.h index 26015ef..70b4436 100644 --- a/input_state.h +++ b/input_state.h @@ -13,7 +13,7 @@ struct BufferedFrame { // In particular, this is captured by Theme::get_chain(), // so that it can hold on to all the frames it needs for rendering. struct InputState { - // For each card, the last three frames (or fields), with 0 being the + // For each card, the last five frames (or fields), with 0 being the // most recent one. Note that we only need the actual history if we have // interlaced output (for deinterlacing), so if we detect progressive input, // we immediately clear out all history and all entries will point to the same -- 2.39.2