Re: INVITATION: help debugging cAudioRepacker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux