[mythtv] Seg Fault in backend with dvb-alpha-0.4pre and use_ts=1

Steve Brown sbrown at cortland.com
Mon Sep 1 23:00:18 EDT 2003


Kenneth Aafloy wrote:

>No!
>
>  
>
>>@@ -201,15 +201,16 @@
>>void DVBChannel::CheckOptions(dvb_tuning_t& t)
>>{
>>    if ((t.params.inversion == INVERSION_AUTO)
>>-        && (info.caps & FE_CAN_INVERSION_AUTO))
>>+        && !(info.caps & FE_CAN_INVERSION_AUTO))
>>    {
>>        printf("Channel option inversion is set to 'auto', but your"\
>>    
>>
>
>This is a check against your frontend capabilities, and inverting that
>bitmask is against every rule in the book :)
>If it says your frontend can't do INVERSION_AUTO, it can't...fix it
>in the database if you don't want to see that warning message.
>
>  
>
As you can tell, I haven't written software for pay for a long, long 
time. And if my last msg is a test, I'm not much better at email.

It still seems that with the current code, the first term is true 
because AUTO is in the database and the second term is also true because 
my Nova budget does indeed have the FE_CAN_INVERSION_AUTO bit set. Won't 
this cause the if to evaluate true and erroneously print the error msg?

The caps for my card are:
               FE_CAN_INVERSION_AUTO |
               FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
               FE_CAN_FEC_5_6 | FE_CAN_FEC_7_8 | FE_CAN_FEC_AUTO |
               FE_CAN_QPSK


Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20030901/020a9835/attachment-0001.htm


More information about the mythtv-dev mailing list