Interleaved mode updatePacketList - just clear list if there are no streams. Fixes #195
This commit is contained in:
parent
08fc0a116f
commit
831b5c0916
@ -377,11 +377,16 @@ void AbstractPort::updatePacketListInterleaved()
|
|||||||
|
|
||||||
qDebug("In %s", __FUNCTION__);
|
qDebug("In %s", __FUNCTION__);
|
||||||
|
|
||||||
|
clearPacketList();
|
||||||
|
if (streamList_.size() == 0)
|
||||||
|
{
|
||||||
|
isSendQueueDirty_ = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// First sort the streams by ordinalValue
|
// First sort the streams by ordinalValue
|
||||||
qSort(streamList_.begin(), streamList_.end(), StreamBase::StreamLessThan);
|
qSort(streamList_.begin(), streamList_.end(), StreamBase::StreamLessThan);
|
||||||
|
|
||||||
clearPacketList();
|
|
||||||
|
|
||||||
for (int i = 0; i < streamList_.size(); i++)
|
for (int i = 0; i < streamList_.size(); i++)
|
||||||
{
|
{
|
||||||
if (!streamList_[i]->isEnabled())
|
if (!streamList_[i]->isEnabled())
|
||||||
|
Loading…
Reference in New Issue
Block a user