Initialise DCLUT with QByteArrayLiteral
This commit is contained in:
@@ -507,7 +507,8 @@ int LevelOnePage::dCLUT(bool globalDrcs, int mode, int index) const
|
|||||||
|
|
||||||
void LevelOnePage::setDCLUT(bool globalDrcs, int mode, int index, int colour)
|
void LevelOnePage::setDCLUT(bool globalDrcs, int mode, int index, int colour)
|
||||||
{
|
{
|
||||||
const QByteArray defaultPkt = QByteArray("\x01\x00\x00\x00\x20\x20\x18\x00\x02\x22\x01\x08\x08\x06\x24\x22\x39\x20\x12\x2a\x05\x2b\x39\x1e\x20\x20\x18\x10\x0a\x26\x03\x0a\x29\x16\x2c\x26\x3b\x01\x00\x00", 40);
|
// Default DCLUT as per D.1.6 and D.2.2 in the ETSI spec
|
||||||
|
const QByteArray defaultPkt = QByteArrayLiteral("\x01\x00\x00\x00\x20\x20\x18\x00\x02\x22\x01\x08\x08\x06\x24\x22\x39\x20\x12\x2a\x05\x2b\x39\x1e\x20\x20\x18\x10\x0a\x26\x03\x0a\x29\x16\x2c\x26\x3b\x01\x00\x00");
|
||||||
|
|
||||||
if (!packetExists(28, 1))
|
if (!packetExists(28, 1))
|
||||||
setPacket(28, 1, defaultPkt);
|
setPacket(28, 1, defaultPkt);
|
||||||
|
|||||||
Reference in New Issue
Block a user