← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 721: Fixed a regression with the thumbnailing, which was using the projects aspect ratio to generate t...

 

------------------------------------------------------------
revno: 721
committer: Jonathan Thomas <Jonathan.Oomph@xxxxxxxxx>
branch nick: openshot
timestamp: Sat 2012-09-22 17:41:51 -0500
message:
  Fixed a regression with the thumbnailing, which was using the projects aspect ratio to generate thumbnails... which resulted in stretched images in many cases.  All thumbnails need to be as close to 4:3 as possible, since our tree icon resizing is fixed to 4:3.
modified:
  openshot/classes/thumbnail.py


--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main

Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/classes/thumbnail.py'
--- openshot/classes/thumbnail.py	2012-05-23 14:58:02 +0000
+++ openshot/classes/thumbnail.py	2012-09-22 22:41:51 +0000
@@ -68,7 +68,7 @@
 				self.thumbnail_path = project_path + "/thumbnail/" + uniqueFileBaseName + "_" + fileExtension + "_%d.png"
 				
 				# set the profile
-				self.profile = profiles.mlt_profiles(self.project).get_profile(self.project.project_type) #mlt.Profile("quarter_ntsc")
+				self.profile = mlt.Profile("quarter_ntsc")
 
 			else:
 				if new_file_base_name == None or new_file_base_name == fileBaseName: