TVServer channel scan broken in Rev 12899 (SectionDecoder.cpp) (1 Viewer)

HappyTalk

Portal Pro
July 16, 2006
307
8
UK
I hadn't tried svn for 6 weeks as though it worked OKish there was a problem with playback of recordings freezing and many other oddities. I have just tested the most recent svn and scanning no longer works properly. It scans 5 of the 6 tp's OK. But the one at UK frequency="794000" gives garbage 4 digit hex number for the name. It also takes about 15 seconds to scan this tp for channels as opposed to 2s on others & earlier versions.

I began testing earlier svn's and the problem exists with svn 12960 but not with 12868. So somewhere between those revisions something seems to have been broken in the scanning code.

I edited the dvbt.xml file so only the single problem multiplex was scanned and attach the tv.log file from the old working svn and the new non-working one.

I also attach the exported channel list, so you can easily import them into your own tv server to more easily see the problem
 

HappyTalk

Portal Pro
July 16, 2006
307
8
UK
OK I finally tracked down the problem file which is Revision 12899 of TvEngine3/Filters/sources/TsWriter/source/SectionDecoder.cpp by Yamp

The svn comment says "fixed tvserver didnt find audio/video pids for some tv/radio channels" but as a side effect it has broken scanning on one of my tp's as mentioned in o.p.

the diffs file is here:-

http://mediaportal.svn.sourceforge....r/source/SectionDecoder.cpp?r1=12748&r2=12899

I had to track it down by doing a binary chop recompile/reinstall of previous svn's to find the point where it stopped working which took forever. I have recompiled latest tv server svn rev13708 but with the TsWriter.ax from rev12898 and it scans fine again.

Unfortunately I don't have tv cards on my dev machine (both in lounge tv server) so can't run a channel scan, or I would try to step through the code to track down the exact problem, but I will see if there is anything obvious in diffs file. As it only affects 1 tp in my area it may well NOT affect most people so not be easy for others to recreate? Hopefully the logs and pinpoint location is enough. I installed the dxsdk but still was unable to compile it I think I either need to use an older version VS2003? or fix a lot of syntax errors as the vs2005 compiler seems stricter.

I attach a zip of all the tv server log files for 2 versions:-
13708 - latest svn doesn't scan properly
13708.hybrid (recompiled with older TsWriter.ax file) scans fine

This is scanning only the 1 problem tp
 

Users who are viewing this thread

Top Bottom