QTfrontend/net/recorder.cpp
changeset 13644 1b536e268519
parent 13492 c7df0d96da81
child 14599 b86e6e4f3c58
equal deleted inserted replaced
13643:690cc84e9fd6 13644:1b536e268519
    37 {
    37 {
    38     this->config = config;
    38     this->config = config;
    39     this->prefix = prefix;
    39     this->prefix = prefix;
    40     item = 0;
    40     item = 0;
    41     finished = false;
    41     finished = false;
       
    42     aborted = false;
    42     name = prefix + "." + LibavInteraction::instance().getExtension(config->AVFormat());
    43     name = prefix + "." + LibavInteraction::instance().getExtension(config->AVFormat());
    43 }
    44 }
    44 
    45 
    45 HWRecorder::~HWRecorder()
    46 HWRecorder::~HWRecorder()
    46 {
    47 {
   150 
   151 
   151 bool HWRecorder::simultaneousRun()
   152 bool HWRecorder::simultaneousRun()
   152 {
   153 {
   153     return true;
   154     return true;
   154 }
   155 }
       
   156 
       
   157 void HWRecorder::abort()
       
   158 {
       
   159     queue.removeOne(this);
       
   160     aborted = true;
       
   161     deleteLater();
       
   162 }