[mythtv] [mythtv-commits] mythtv commit: r17641 by danielk

Nigel Pearson nigel at ind.tansu.com.au
Thu Jun 26 05:16:32 UTC 2008


 > Log:
 > Refs #2695. Adds channelscan verbose flag for channel scanner.
...
mythverbose.h
-    F(VB_IDLE,      0x01000000,  
"idle",                                       \
+    F(VB_IDLE,      0x0001000000ULL,  
"idle",                                  \
                               1, "System idle  
messages")                       \
-    F(VB_EXTRA,     0x40000000,  
"extra",                                      \
+    F(VB_EXTRA,     0x0040000000ULL,  
"extra",                                 \
                               1, "More detailed messages in selected  
levels")  \
-    F(VB_TIMESTAMP, 0x80000000,  
"timestamp",                                  \
+    F(VB_TIMESTAMP, 0x0080000000ULL,  
"timestamp",                             \
                               1, "Conditional data driven  
messages")           \
-    F(VB_NONE,      0x00000000,  
"none",                                       \
+    F(VB_CHANSCAN,  0x0100000000ULL,  
"channelscan",                           \
                               1, "Channel Scanning  
messages")                  \
      F(VB_NONE,      0x0000000000ULL,  
"none",                                  \
                               0, "NO debug output")
...
-extern MPUBLIC unsigned int print_verbose_messages;
+extern MPUBLIC unsigned long long print_verbose_messages;



Note that it wasn't necessary to increase the mask size,
because there are still 5 bit values between idle and extra.


I think when I added extra in, I forgot to ask why
timestamp had been given the largest mask bit position.
Does anyone know a good reason why it shouldn't be:

0x010000000 idle
0x020000000 timestamp
0x040000000 extra
0x080000000 channelscan
// space for four more flag masks
0x000000000 none


--
Nigel Pearson, nigel at ind.tansu.com.au|"Gentlemen,
Telstra Net. Eng., Sydney, Australia | you can't fight in here-
Office: 9202 3900    Fax:  9261 3912 |   this is the war room!"
Mobile: 0408 664435  Home: 9792 6998 |     Dr Strangelove



More information about the mythtv-dev mailing list