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