From a295f9f85bf3fbd7b825627c70bc0be54eee40e1 Mon Sep 17 00:00:00 2001 From: Lis-TV <46375802+Lis-TV@users.noreply.github.com> Date: Mon, 8 Jun 2020 10:16:01 +0200 Subject: [PATCH] subtitling_descriptor Fix ETSI EN 300 468, Table 99, 'length' should not be included. Solution tested --- code/libs/dvbobjects/dvbobjects/DVB/Descriptors.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/libs/dvbobjects/dvbobjects/DVB/Descriptors.py b/code/libs/dvbobjects/dvbobjects/DVB/Descriptors.py index 98582d5..198794f 100755 --- a/code/libs/dvbobjects/dvbobjects/DVB/Descriptors.py +++ b/code/libs/dvbobjects/dvbobjects/DVB/Descriptors.py @@ -548,9 +548,8 @@ def bytes(self): self.subtitling_data_descriptor_loop), "") - fmt = "!B%ds" % len(data_bytes) + fmt = "!%ds" % len(data_bytes) return pack(fmt, - len(data_bytes), data_bytes, )