Remove code that was here to debug the codec private data changes.

This commit is contained in:
Frédéric Tronel
2023-12-20 10:05:52 +01:00
parent 59b55bac6c
commit 3681ff33f3

View File

@@ -398,13 +398,6 @@ def changeCodecPrivateData(mkvinfo, inputFile, codecData):
infd = inputFile.fileno()
lseek(infd, 0, SEEK_SET)
output = open('save.mkv', 'w')
outfd = output.fileno()
save = read(infd, 10000000)
write(outfd, save)
close(outfd)
lseek(infd, 0, SEEK_SET)
currentLength = fstat(infd).st_size
logger.info('Current size of file: %d' % currentLength)
position, currentData = getCodecPrivateData(mkvinfo, inputFile)