Ticket #4404: yadif_greedy_help_text.diff

File yadif_greedy_help_text.diff, 2.1 KB (added by Roo <roo.watt@…>, 12 years ago)

Add greedy and yadif help strings

  • libs/libmythtv/videodisplayprofile.cpp

     
    10461046
    10471047    QString msg = "";
    10481048
     1049    QString kDoubleRateMsg =
     1050        QObject::tr("This deinterlacer requires the display to be capable "
     1051        "of twice the frame rate as the source video.");
     1052
    10491053    QString kNoneMsg =
    10501054        QObject::tr("Perform no deinterlacing.") + " " +
    10511055        QObject::tr(
     
    10601064
    10611065    QString kBobMsg = QObject::tr(
    10621066        "Shows one field of the frame followed by the "
    1063         "other field displaced vertically. "
    1064         "This deinterlacer requires the display to be capable "
    1065         "of twice the frame rate as the source video.");
     1067        "other field displaced vertically. ") + " " +
     1068        kDoubleRateMsg;
    10661069
    10671070    QString kLinearBlendMsg = QObject::tr(
    10681071        "Blends the odd and even fields linearly into one frame.");
     
    10761079        QObject::tr("With workaround for broken interlaced modelines.") + " " +
    10771080        kUsingOpenGL;
    10781081
     1082    QString kGreedyHMsg = QObject::tr(
     1083        "This deinterlacer uses several fields to reduce motion blur. "
     1084        "It has increased CPU requirements.");
     1085
     1086    QString kYadifMsg = QObject::tr(
     1087        "This deinterlacer uses several fields to reduce motion blur. "
     1088        "It has increased CPU requirements.");
     1089
    10791090    if (deint == "none")
    10801091        msg = kNoneMsg;
    10811092    else if (deint == "onefield")
     
    11021113        msg = kKernelMsg + " " + kUsingOpenGLWorkaround;
    11031114    else if (deint == "opengldoubleratefieldorder")
    11041115        msg = kNoneMsg  + " " + kUsingOpenGLWorkaround;
     1116    else if (deint == "greedyhdeint")
     1117        msg = kGreedyHMsg;
     1118    else if (deint == "greedyhdoubleprocessdeint")
     1119        msg = kGreedyHMsg + " " +  kDoubleRateMsg;
     1120    else if (deint == "yadifdeint")
     1121        msg = kYadifMsg;
     1122    else if (deint == "yadifdoubleprocessdeint")
     1123        msg = kYadifMsg + " " +  kDoubleRateMsg;
    11051124    else
    11061125        msg = QObject::tr("'%1' has not been documented yet.").arg(deint);
    11071126