int result = src != 0 ? 0 : -1;
if( !result ) result = src->dvb.get_channel(subchan, major, minor);
if( !result ) result = src->dvb.get_station_id(subchan, &name[0]);
if( !result ) result = src->dvb.total_astreams(subchan, total_astreams);
if( !result ) result = src->dvb.total_vstreams(subchan, total_vstreams);
return result;
int result = src != 0 ? 0 : -1;
if( !result ) result = src->dvb.get_channel(subchan, major, minor);
if( !result ) result = src->dvb.get_station_id(subchan, &name[0]);
if( !result ) result = src->dvb.total_astreams(subchan, total_astreams);
if( !result ) result = src->dvb.total_vstreams(subchan, total_vstreams);
return result;