Ticket #1372: mtd.diff

File mtd.diff, 1.8 KB (added by anonymous, 18 years ago)
  • mythplugins/mythdvd/mythdvd/dbcheck.cpp

     
    138138"    bitrate     INT,"
    139139"    a_sample_r  INT,"
    140140"    a_bitrate   INT,"
    141 "    two_pass    BOOL"
     141"    two_pass    BOOL,"
     142"    tc_param VARCHAR(128)"
    142143");",
    143144// ntsc 16:9 letterbox --> Good
    144145"INSERT INTO dvdtranscode"
  • mythplugins/mythdvd/mtd/jobthread.cpp

     
    10111011                                     " a_bitrate,   "
    10121012                                     " input,       "
    10131013                                     " name,        "
    1014                                      " two_pass     "
     1014                                     " two_pass,    "
     1015                                     " tc_param     "
    10151016                                     
    10161017                                     " FROM dvdtranscode WHERE intid = %1 ;")
    10171018                                     .arg(quality);
     
    10571058    int   input_setting = a_query.value(21).toInt();
    10581059    QString        name = a_query.value(22).toString();
    10591060               two_pass = a_query.value(23).toBool();
     1061    QString    tc_param = a_query.value(24).toString();
    10601062   
    10611063    //
    10621064    //  And now, another query to get frame rate code and
     
    11901192        tc_arguments.append("-F");
    11911193        tc_arguments.append(codec_param);
    11921194    }
     1195
     1196    if(tc_param.length() > 0)
     1197    {
     1198        QStringList tc_param_lst(QStringList::split(" ",tc_param));
     1199        tc_arguments += tc_param_lst;
     1200    }
    11931201   
    11941202    if(bitrate > 0)
    11951203    {