input_mutex.lock();
if (running)
{
- if (packet.getPTS() != PESPacket::PTS_INVALID)
+ if ((packet.getPTS() == 0x1FFFFFFFF) && (packet.getSize() == 14))
+ {
+ // Filter this packet. What is it? Subs seem to work fine without it and it's too short to be useful
+ // The rewritten timing algorithm below doesn't handle this packet like it did before
+ // and it jams up the work list
+ }
+
+ else if (packet.getPTS() != PESPacket::PTS_INVALID)
{
worklist.push_back(packet);
signalRecalcWLTO = true;