Exemplo n.º 1
0
 inline void operator +=(double t)
 {
     if (hasDts())
         m_dts += t;
     if (hasPts())
         m_pts += t;
 }
Exemplo n.º 2
0
void QtsPesPacket::setDts(const quint64& dts)
{
    if (hasDts()) {
        qtsPutPtsDts(_data.data() + 14, dts);
    }
}
Exemplo n.º 3
0
quint64 QtsPesPacket::getDts() const
{
    return hasDts() ? qtsGetPtsDts(_data.data() + 14) : 0;
}
Exemplo n.º 4
0
 inline bool isValid() const
 {
     return hasDts() || hasPts();
 }