We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce21c55 commit dfc5383Copy full SHA for dfc5383
src/Packet.cpp
@@ -222,7 +222,10 @@ void Packet::skip(int bytes)
222
#ifndef QT_NO_DEBUG_STREAM
223
QDebug operator<<(QDebug dbg, const Packet &pkt)
224
{
225
- dbg.nospace() << "QtAV::Packet.data " << Qt::hex << (qptrdiff)pkt.data.constData() << "+" << Qt::dec << pkt.data.size();
+#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
226
+ using Qt::hex, Qt::dec;
227
+#endif
228
+ dbg.nospace() << "QtAV::Packet.data " << hex << (qptrdiff)pkt.data.constData() << "+" << dec << pkt.data.size();
229
dbg.nospace() << ", dts: " << pkt.dts;
230
dbg.nospace() << ", pts: " << pkt.pts;
231
dbg.nospace() << ", duration: " << pkt.duration;
0 commit comments