ff
This commit is contained in:
@@ -240,13 +240,11 @@ class FileProperties():
|
||||
|
||||
crops[cropParam] = crops.get(cropParam, 0) + 1
|
||||
|
||||
if crops:
|
||||
cropHistogram = sorted(crops, reverse=True)
|
||||
|
||||
print(cropHistogram[0])
|
||||
|
||||
|
||||
# return json.loads(ffprobeOutput)['streams']
|
||||
|
||||
return cropHistogram[0]
|
||||
else:
|
||||
return ''
|
||||
|
||||
|
||||
def getMediaDescriptor(self):
|
||||
|
||||
Reference in New Issue
Block a user