Bug #865
closedWrong subtitle page set
100%
Description
I have problem with e-tobi repository ttxtsubs 0.2.4 and VDR 1.7.22. It seems the page number is shifted by 8 bits. The log shows: "Found subtitle page:088", even the correct page is 888. Everything works fine, if I disable the "update channels PIDs" and enter manually the page number 888 in the channels.conf:
TF1;CSAT:11895:VC34M2O0S0:S19.2E:27500:171=2:124=fra@4,125=eng@4,126=deu@4:53+888=fra:0:8366:1:1074:0
But if I enable the update channels PIDs, the autoupdate finds page 088, the subtitles stop working and the channels.conf looks like this:
TF1;CSAT:11895:VC34M2O0S0:S19.2E:27500:171=2:124=fra@4,125=eng@4,126=deu@4:53+88=fra:0:8366:1:1074:0
I looked at the source and the file ttxtsubsdisplayer.c and the wrong value seems to be assigned here:
int bcdPage = (teletextSubtitlePages[p].ttxtMagazine << 8) + teletextSubtitlePages[p].ttxtPage;
but I did not yet have time to look further...
Also setting the page manually through OSD does not help, even if manual mode is enabled and page number 888 entered on the field
Files