Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 69118953bd8e0853899eef5b13c486ec606b2e36 1 parent 139a98e
@iandall iandall authored sphery committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mythtv/programs/mythbackend/playbacksock.cpp
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.