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