src/app/transcode/taskcmd.cpp
const StringList
TaskAddCommand::getVideoQualityList()
{
    StringList list;

    // klk_app_transcode_video_quality_list
    //SELECT klk_app_transcode_video_quality.quality_name AS name,

    db::DB db(getFactory());
    db.connect();

    db::Parameters dbparams;

    db::ResultVector rv = db.callSelect("klk_app_transcode_video_quality_list",
                                        dbparams, NULL);
    for (db::ResultVector::iterator item = rv.begin();
         item != rv.end(); item++)
    {
        list.push_back((*item)["name"].toString());
    }

    return list;
}
// Retrives a list with possible video qualities names
Retrives a list with possible video qualities names
Retrives a list with possible video qualities names
const StringList
TaskAddCommand::getVideoQualityList()
{
    StringList list;
    db::DB db(getFactory());
    db.connect();
    db::Parameters dbparams;
    db::ResultVector rv = db.callSelect("klk_app_transcode_video_quality_list",
                                        dbparams, NULL);
    for (db::ResultVector::iterator item = rv.begin();
         item != rv.end(); item++)
    {
        list.push_back((*item)["name"].toString());
    }
    return list;
}
const StringList TaskAddCommand :: getVideoQualityList ( ) { StringList list ; db :: DB db ( getFactory ( ) ) ; db . connect ( ) ; db :: Parameters dbparams ; db :: ResultVector rv = db . callSelect ( " " , dbparams , NULL ) ; for ( db :: ResultVector :: iterator item = rv . begin ( ) ; item != rv . end ( ) ; item ++ ) { list . push_back ( ( * item ) [ " " ] . toString ( ) ) ; } return list ; }
Retrives a list with possible video qualities names
Retrives a list with possible video qualities names
// klk_app_transcode_video_quality_list //SELECT klk_app_transcode_video_quality.quality_name AS name,