Permalink
Browse files

Add Ceton usb support

The attached patch fixes an issue with the Ceton RTP code that
prevents it from working on the USB version Ceton device.  The
previous code attempted to filter out any packets originating from IPs
other than the Ceton's configured IP.  This worked fine with the PCIe
ceton device, but the USB version does not behave the same way.
Packets will be originated from another IP address.  Thus the code
will not let any packets through when using a USB Ceton.  Removing
this check will allow both the PCIe and USB Ceton devices to function
properly.  Fixes #10952 .

Signed-off-by: David Engel <dengel@mythtv.org>
  • Loading branch information...
1 parent 922b1d2 commit 94f1eff2c39e3f642ae63a6b456c628696c8f5bf @ldkronos ldkronos committed with gigem Jul 30, 2012
Showing with 0 additions and 9 deletions.
  1. +0 −9 mythtv/libs/libmythtv/cetonrtp.cpp
@@ -140,15 +140,6 @@ void CetonRTP::ProcessIncomingData(void)
QString("RTP packet error. Expected %1 bytes, received %2")
.arg(bytesWaiting).arg(bytesRead));
}
- if (receivedFrom != _acceptFrom)
- {
- LOG(VB_RECORD, LOG_WARNING, LOC +
- QString("Got packet from %1 instead of %2")
- .arg(receivedFrom.toString(), _acceptFrom.toString()));
-
- _readBuffer.resize(bufferSize);
- continue;
- }
bufferSize += bytesWaiting;
_thisRead += bytesWaiting;

0 comments on commit 94f1eff

Please sign in to comment.