New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong subtitle timing #68
Comments
It's a known issue, but we couldn't tracked down it yet. Did you compile mpv with gcc 4.8 by any chance? |
Yes I did. |
Yep, compilation somehow breaks with gcc 4.8. Could be either a bug in the mpv code (ignores hours for some reason), or a gcc compiler bug. We haven't touched this part of the code for quite a while, though. |
You are right, it is GCC's problem. I just compiled with Clang 3.2 and subs work fine. |
As expected, it was a problem with undefined behavior, and gcc-4.8's optimizer is probably more aggressive than earlier versions, which caused the issue. Commit d98e61e should fix this. Can someone confirm? |
I can confirm that this is fixed. Thank you very much! |
Thanks for testing. |
So I was watching this movie yesterday and I had this weird timing problem.
It was displaying the subs of around 01:00:00,000 at the start of the movie and it continued from there.
I tried it on mplayer2 and it played them alright though.
Subs were on an external .str file.
The text was updated successfully, but these errors were encountered: