Remove code that was here to debug the codec private data changes.
This commit is contained in:
@@ -398,13 +398,6 @@ def changeCodecPrivateData(mkvinfo, inputFile, codecData):
|
|||||||
infd = inputFile.fileno()
|
infd = inputFile.fileno()
|
||||||
lseek(infd, 0, SEEK_SET)
|
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
|
currentLength = fstat(infd).st_size
|
||||||
logger.info('Current size of file: %d' % currentLength)
|
logger.info('Current size of file: %d' % currentLength)
|
||||||
position, currentData = getCodecPrivateData(mkvinfo, inputFile)
|
position, currentData = getCodecPrivateData(mkvinfo, inputFile)
|
||||||
|
|||||||
Reference in New Issue
Block a user