-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ASS] - fixed display of time overlapping ass subs
- Loading branch information
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0c76257
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we are inside the play, shouldn't code be "optimised" ?
What's the point of testing again (pOverlay) with the "if", because if the while is true, so "if" is...
Unless there is an unknow reason i didn't know, code should be :
While(pOverlay)
{
m_pOverlayContainer->Add(pOverlay);
pOverlay = m_pSubtitleFileParser->Parse(pts);
}
0c76257
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could it be related to the ticket i've opened ?
http://trac.xbmc.org/ticket/13302
I'll test this WE, and update ticket if it solves it.
0c76257
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no point in checking the pointer again (its just a leftover from wrapping that code with the loop. Thx for the headsup.
And yes this could be related to the ticket you have opened. Let me know if this fixes your ticket to.
0c76257
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It solves the issue, but...!!!
The insane CPU usage mentioned in the forum in the feature/10bit thread on some subtitles is back.
Here : http://forum.xbmc.org/showthread.php?tid=106051&pid=1101184#pid1101184
I kept the file for testing, and mentioned part (at around 19:50) is again unplayable on my i7@870. File is played perfectly fine with MPC-HC + Directvobsub, so, insane CPU seems to be XBMC specific related.
You can get this file ([Tsumiki]Acchi_Kocchi-02[10bit][1280x720][529E1BBB].mkv) either on newsgroup (alt.binaries.multimedia.anime.highspeed) or try, if still alive, here : http://www.nyaa.eu/?page=torrentinfo&tid=304793
0c76257
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've try to take a look, but it's out of my knowledge. The only thing i think it's that maybe it mess up or make the work of ellupus on his pull request xbmc#942 useless, and this fix has to be implemented/integrated more with this PR... It's just a maybe...