equal
deleted
inserted
replaced
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 } |