++iter;
}
--iter;
- if (onTarget) ret = iter->frame;
pthread_mutex_unlock(&pts_map_mutex);
if (!onTarget)
{
}
else
{
+ ret = iter->frame;
Log::getInstance()->log("Demuxer", Log::DEBUG, "FOUND FRAME NUMBER %d for %llu", ret, pts);
return ret;
}
}
-
+
void DemuxerVDR::PESPacketVDR::parseDetails()
{
// TODO: Currently, we naïvely assume that a packet contains a new frame
// if and only if it contains a pts, and that no packet contains more
// than one new frame
-
+
DemuxerVDR* dx = (DemuxerVDR*)(DemuxerVDR::getInstance());
PESPacket::parseDetails();
if (dx->frameCounting && pts != PTS_INVALID &&