[vdr] Re: INVITATION: help debugging cAudioRepacker

Reinhard Nissl rnissl at gmx.de
Sat Sep 3 13:12:18 CEST 2005


Hi,

Sebastian Frei wrote:

>>as some people seem to get messages like the following several seconds
>>(> 60) after switching to a certain channel (or after a recording has
>>switched a device)
>>
>>Sep  2 11:12:49 video vdr[14940]: cAudioRepacker: skipped 911 bytes to
>>sync on next audio frame
>>Sep  2 11:12:49 video vdr[14940]: cAudioRepacker: skipped 785 bytes to
>>sync on next audio frame
>>Sep  2 11:12:50 video vdr[14940]: cAudioRepacker: skipped 221 bytes to
>>sync on next audio frame
>> 
>>NPTL users: please turn off NPTL for this test (by defining an
>>environment variable: export LD_ASSUME_KERNEL=2.4.1) as it is not
>>possible to indentify the reporting thread otherwise.
>
> I have a NPTL-only system without the possibility to use 
> LD_ASSUME_KERNEL=2.4.1, but I have also the messages above. 
> 
> Can I debug another way ?

Well, you'd have to add pid and tid to each debug message, like in 
cThread::StartThread().

For example

esyslog("cAudioRepacker(0x%02X, pid=%d, tid=%ld): ...", cid, getpid(), 
pthread_self(), ...);

Please excuse my lazyness for not having done it already :-(

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de



More information about the vdr mailing list