Commit b77b053afa82ff82b2076474d2ed5b1e980d62ca
1 parent
54a15ec5
Exists in
master
and in
1 other branch
Modificações no log do terminal
Showing
2 changed files
with
6 additions
and
7 deletions
Show diff stats
renderer/src/renderer.cpp
| ... | ... | @@ -95,8 +95,6 @@ void Renderer::exportGlosa() { |
| 95 | 95 | glosaBff = new char[glosaSize]; |
| 96 | 96 | strcpy(glosaBff, glosaCpy.c_str()); |
| 97 | 97 | |
| 98 | - cout << "glosa: " << glosaBff << endl; | |
| 99 | - | |
| 100 | 98 | try { |
| 101 | 99 | cSocket->write(glosaBff, glosaSize); //Envia a glosa formatada p/ o player |
| 102 | 100 | }catch(lavidlib::IOException &ex){ |
| ... | ... | @@ -138,6 +136,7 @@ void Renderer::waitScreenShots() { |
| 138 | 136 | } |
| 139 | 137 | |
| 140 | 138 | void Renderer::renderVideo() { |
| 139 | + PRINTL(util::_DEBUG, "Renderizando...\n"); | |
| 141 | 140 | string command = "ffmpeg -y -loglevel quiet -framerate 30 -i "; |
| 142 | 141 | command.append(PATH_SCREENS).append(userID).append("/frame_%d.png ") |
| 143 | 142 | .append("-vcodec libx264 -pix_fmt yuv420p ").append(pathOutVideo); | ... | ... |
servico/src/serviceWindowGenerationFromSubtitle.cpp
| ... | ... | @@ -23,7 +23,7 @@ ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* p |
| 23 | 23 | } |
| 24 | 24 | running = true; |
| 25 | 25 | finish = false; |
| 26 | - PRINTL(util::_DEBUG, "Service SRT Done!\n"); | |
| 26 | + PRINTL(util::_DEBUG, "Service Subtitle Done!\n"); | |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* pathSRT, int sublanguage, int transp, char* id, int mode, int serviceType) { |
| ... | ... | @@ -44,7 +44,7 @@ ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* p |
| 44 | 44 | } |
| 45 | 45 | running = true; |
| 46 | 46 | finish = false; |
| 47 | - PRINTL(util::_DEBUG, "Service SRT Done!\n"); | |
| 47 | + PRINTL(util::_DEBUG, "Service Subtitle Done!\n"); | |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | ServiceWindowGenerationFromSubtitle::~ServiceWindowGenerationFromSubtitle() { |
| ... | ... | @@ -54,7 +54,7 @@ ServiceWindowGenerationFromSubtitle::~ServiceWindowGenerationFromSubtitle() { |
| 54 | 54 | if (renderer) delete renderer; |
| 55 | 55 | if (extratorVTT)delete extratorVTT; |
| 56 | 56 | if (extrator_factory) delete extrator_factory; |
| 57 | - PRINTL(util::_DEBUG, "Service SRT finalized!\n"); | |
| 57 | + PRINTL(util::_DEBUG, "Service Subtitle finalized!\n"); | |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | void ServiceWindowGenerationFromSubtitle::setPathContents() { |
| ... | ... | @@ -219,7 +219,7 @@ void ServiceWindowGenerationFromSubtitle::notifyEndOfRenderization() { |
| 219 | 219 | } |
| 220 | 220 | |
| 221 | 221 | void ServiceWindowGenerationFromSubtitle::notifyEnd(int sub_size) { |
| 222 | - PRINTL(util::_DEBUG, "Service SRT recebeu: %d legendas.\n", sub_size); | |
| 222 | + PRINTL(util::_DEBUG, "Service Subtitle recebeu: %d legendas.\n", sub_size); | |
| 223 | 223 | setSizeOfSubtitles(sub_size); |
| 224 | 224 | } |
| 225 | 225 | |
| ... | ... | @@ -232,7 +232,7 @@ bool ServiceWindowGenerationFromSubtitle::isFinished() { |
| 232 | 232 | } |
| 233 | 233 | |
| 234 | 234 | void ServiceWindowGenerationFromSubtitle::initialize() { |
| 235 | - PRINTL(util::_DEBUG, "Service SRT Initialize.\n"); | |
| 235 | + PRINTL(util::_DEBUG, "Service Subtitle Initialize.\n"); | |
| 236 | 236 | setPathLibras(); |
| 237 | 237 | |
| 238 | 238 | Extrator::ExtratorType extrator_t = getExtratorType(); | ... | ... |