Skip to content
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

Fix French Subtitles #427

Closed
wants to merge 1 commit into from
Closed

Fix French Subtitles #427

wants to merge 1 commit into from

Conversation

c0mm0n
Copy link
Contributor

@c0mm0n c0mm0n commented Jun 22, 2014

Language is determined by this line in telext parser

Line 170 :

laG0_nat_opts_lookup[Gtriplet & 0xf][natopts & 0x7];

For a french char :
Gtriplet is 0
natopts is 1

So language 4 detected = german.

I changed this case (0,1) to France, not sure that won’t break german.

Language is determined by this line in telext parser
laG0_nat_opts_lookup[Gtriplet & 0xf][natopts & 0x7];

For a frenc char :
Gtriplet is 0
natopts is 1

So language 4 detected = german.

I changed this case (0,1) to France, not sure that won’t break german.
@c0mm0n
Copy link
Contributor Author

c0mm0n commented Jun 22, 2014

As requested by ckarrie on irc, this should be tested befored merge with german content.
Unfortunately none of my german channels have subs.

I'll check manually by testing characters one by one manually.

@ckarrie
Copy link
Contributor

ckarrie commented Jun 22, 2014

@c0mm0n Test successful ;-)

@c0mm0n
Copy link
Contributor Author

c0mm0n commented Jun 22, 2014

Thanks a lot.

@perexg
Copy link
Contributor

perexg commented Jun 25, 2014

Fixed in master - commit c469807 .

@perexg perexg closed this Jun 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants