Stacktrace when clicking the Close button in the Render dialog with certain project files
@aleb
Submitted by Alex Băluț Assigned to Alex Băluț @aleb
Description
Steps to reproduce:
- Click the render button to render a project
- Click the "DVD" render preset, or any other render preset except "HTML5 video".
- Click the Close button, notice it does not work and a stacktrace is printed in the console. (Clicking once more the Close button closes the dialog, as expected.)
$ bin/pitivi ../tmp/Untitled2.xptv
Traceback (most recent call last):
File "pitivi/ui/encodingdialog.py", line 724, in _closeButtonClickedCb
self.destroy()
File "pitivi/ui/encodingdialog.py", line 755, in destroy
self._updateProjectSettings()
File "pitivi/ui/encodingdialog.py", line 752, in _updateProjectSettings
self.project.setSettings(settings)
File "pitivi/project.py", line 127, in setSettings
self._projectSettingsChanged()
File "pitivi/project.py", line 149, in _projectSettingsChanged
fact.setFilterCaps(self._videocaps)
File "pitivi/factories/base.py", line 447, in setFilterCaps
caps_copy = gst.Caps(caps)
TypeError: wrong arguments when creating GstCaps object
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=658303