Comment 14 for bug 499739

Revision history for this message
Patrick Rooney (patrick-rooney90) wrote :

I've written a patch that implements this functionality, although there is one issue that definitely needs sorting out: the folder selection widget (fileExportFolder) get its actual value changed to the project's export folder, but it appears blank in the GUI. I've looked at PyGTK's documentation for FileChooserButton and FileChooser and it doesn't look like I'm doing anything wrong, so in case it's a bug in PyGTK, the version I'm using is 2.24.0-5.fc18 (64-bit).

Another thing to note is that because self.project.export_settings is compared to self.render_options to see if the settings were changed, there is some unused data in self.project.export_settings. For example, both the bitrates (in bytes) and the human-readable versions are stored, but only the latter is used. This could create confusion for those who wish to edit the files manually (though it's easier to edit them in Openshot). If the project file has some invalid or missing values, they are skipped and the rest are loaded.

Although I like the idea of default export settings and initializing the project-specific settings with the format of the input clip, I've decided to leave those things for now and just upload what I've already done. Let me know if you have any other issues.