Changeset 41132


Ignore:
Timestamp:
11/06/17 18:38:38 (6 years ago)
Author:
gost
Message:

[titan] fix DVB_API_VERSION

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/frontenddev.h

    r41122 r41132  
    15241524        int signalquality = 0;
    15251525        int signalqualitydb = 0;
    1526 #ifdef ARM
    1527 //#ifdef MIPSEL
    1528 #if DVB_API_VERSION >= 5
    1529 //#if DVB_API_VERSION > 5 || DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 10
     1526//#ifdef ARM
     1527#ifdef MIPSEL
     1528//#if DVB_API_VERSION >= 5
     1529#if DVB_API_VERSION > 5 || DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 10
    15301530
    15311531        int test1 = 0;
     
    16211621                return 0;
    16221622        }
    1623 #ifdef ARM
     1623//#ifdef ARM
    16241624//#ifdef MIPSEL
    1625 #if DVB_API_VERSION >= 5
     1625#if DVB_API_VERSION > 5 || DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 10
    16261626        struct dtv_property prop[1];
    16271627        prop[0].cmd = DTV_STAT_SIGNAL_STRENGTH;
     
    16441644                return signal;
    16451645        // fallback to old DVB API
    1646 #endif
     1646//#endif
    16471647#endif 
    16481648        if(ioctl(node->fd, FE_READ_SIGNAL_STRENGTH, &signal) < 0 && errno != ERANGE)
  • titan/titan/struct.h

    r41067 r41132  
    158158#define MAXDEMUXDEV 9
    159159#define MAXENCODERDEV 2
    160 #define DVB_API_VERSION 5
     160//#define DVB_API_VERSION 5
    161161#endif   
    162162#define MAXSCDEV 2
Note: See TracChangeset for help on using the changeset viewer.