Permalink
Browse files

Fix PlaybackSock::GetMaxBitrate protocol usage.

QUERY_REMOTEENCODER now returns only one value.  This change was missed
when the protocol was changed to send 64-bit values directly, instead of
encoded as two 32-bit ints (this part, specifically, in 1508085 ).

Signed-off-by: Michael T. Dean <mdean@mythtv.org>
  • Loading branch information...
1 parent 139a98e commit 69118953bd8e0853899eef5b13c486ec606b2e36 @iandall iandall committed with sphery May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/programs/mythbackend/playbacksock.cpp
@@ -403,7 +403,7 @@ long long PlaybackSock::GetMaxBitrate(int capturecardnum)
QStringList strlist(QString("QUERY_REMOTEENCODER %1").arg(capturecardnum));
strlist << "GET_MAX_BITRATE";
- if (SendReceiveStringList(strlist, 2))
+ if (SendReceiveStringList(strlist, 1))
return strlist[0].toLongLong();
return 20200000LL; // Peak bit rate for HD-PVR

0 comments on commit 6911895

Please sign in to comment.