Commit a9bdfc7cb998ea5e645a598b704b61d1ce4b7081
1 parent
bf6e1b73
Exists in
master
and in
1 other branch
Corrige metodo para calcular PTS
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
extratorSRT/src/extratorSRT.cpp
recognize/src/recognize.cpp
... | ... | @@ -413,7 +413,7 @@ void Recognize::notifyPCRBase(uint64_t pcrbase){ |
413 | 413 | } |
414 | 414 | |
415 | 415 | int64_t Recognize::calcula_pts(double msec) { |
416 | - return (int64_t)(pcr_base + ((msec/1000) * 100000.0)); | |
416 | + return (int64_t)(pcr_base + ((msec/1000) * 90000.0)); | |
417 | 417 | } |
418 | 418 | |
419 | 419 | int64_t Recognize::convert_pts(string pts){ | ... | ... |