Showing the changes to libraries/script-engine/src/RecordingScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -25,8 +25,7 @@ · 24 unmodified lines | |||
| 25 | 25 | ||
| 26 | using namespace recording; | 26 | using namespace recording; |
| 27 | 27 | ||
| 28 | static const QString HFR_EXTENSION = ".hfr"; | 28 | static const QString HFR_EXTENSION = "hfr"; |
| 29 | const QString URL_SCHEME_ATP = "atp"; | ||
| 30 | 29 | ||
| 31 | RecordingScriptingInterface::RecordingScriptingInterface() { | 30 | RecordingScriptingInterface::RecordingScriptingInterface() { |
| 32 | _player = DependencyManager::get<Deck>(); | 31 | _player = DependencyManager::get<Deck>(); |
| @@ -208,7 +207,7 @@ bool RecordingScriptingInterface::saveRecordingToAsset(QScriptValue getClipAtpUr · 175 unmodified lines | |||
| 208 | clip_atp_url = QString("%1:%2.%3").arg(URL_SCHEME_ATP, hash, upload->getExtension()); | 207 | clip_atp_url = QString("%1:%2.%3").arg(URL_SCHEME_ATP, hash, upload->getExtension()); |
| 209 | upload->deleteLater(); | 208 | upload->deleteLater(); |
| 210 | } else { | 209 | } else { |
| 211 | AssetUploadDialogFactory::getInstance().handleUploadFinished(upload, hash); | 210 | qDebug() << "Error during the Asset upload."; |
| 212 | } | 211 | } |
| 213 | 212 | ||
| 214 | QScriptValueList args; | 213 | QScriptValueList args; |