Commit c72f8d1328093fc19d7729f50383e0ce71ba8628

Authored by Wesnydy Ribeiro
1 parent b77b053a
Exists in master and in 1 other branch devel

Ajustes no serviço de legenda

extrator/src/extratorVTT.cpp
... ... @@ -103,7 +103,6 @@ string ExtratorVTT::formatText(string line){
103 103 lessThanPos = f_line.find_first_of(LESS_THAN);
104 104 moreThanPos = f_line.find_first_of(MORE_THAN);
105 105 }
106   -
107 106 return f_line;
108 107 }
109 108  
... ...
renderer/src/include/renderer.h
... ... @@ -22,7 +22,6 @@
22 22 #include <lavidlib/net/SocketException.h>
23 23 #include <lavidlib/base/RuntimeException.h>
24 24 #include <lavidlib/net/UnknownHostException.h>
25   - #include <iostream>
26 25  
27 26 #define HOST "0.0.0.0"
28 27 #define PORT 5555
... ...
servico/src/serviceWindowGenerationFromSubtitle.cpp
... ... @@ -132,11 +132,12 @@ Extrator::ExtratorType ServiceWindowGenerationFromSubtitle::getExtratorType(){
132 132  
133 133 if(signature.size() == 6 && strcmp(SIGNATURE, signature.c_str()) == 0){
134 134 return Extrator::VTT;
  135 + }else{
  136 + return Extrator::SRT;
135 137 }
136 138  
137 139 if(signature.size() > 6 && signature.find(SIGNATURE) == string::npos){
138 140 return Extrator::SRT;
139   -
140 141 }else if(!isspace(signature.at(6))){
141 142 return Extrator::SRT;
142 143 }
... ...