Ticket #2372: ticket2372-add-echostar-tvtype-descriptors.diff

File ticket2372-add-echostar-tvtype-descriptors.diff, 1.2 KB (added by Stuart Auchterlonie, 18 years ago)

add echostar tv service descriptors....

  • libs/libmythtv/mpeg/dvbdescriptors.h

    old new  
    11601160        kServiceTypeRCS_FLS                  = 0x0F,
    11611161        kServiceTypeDVB_MHP                  = 0x10,
    11621162        kServiceTypeHDTV                     = 0x19,
     1163        kServiceTypeEchoStarTV1              = 0x91,
     1164        kServiceTypeEchoStarTV2              = 0x9a,
    11631165    };
    11641166    // service_type             8   2.0
    11651167    uint ServiceType(void) const { return _data[2]; }
     
    11781180                               ServiceNameLength());
    11791181    }
    11801182    bool IsDTV(void) const
    1181         { return ServiceType() ==  kServiceTypeDigitalTelevision; }
     1183        { return ((ServiceType() ==  kServiceTypeDigitalTelevision) ||
     1184                  (ServiceType() ==  kServiceTypeEchoStarTV1) ||
     1185                  (ServiceType() ==  kServiceTypeEchoStarTV2)); }
    11821186    bool IsDigitalAudio(void) const
    11831187        { return ServiceType() ==  kServiceTypeDigitalRadioSound; }
    11841188    bool IsHDTV(void) const