Rendering does not work when using a render preset
@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 "HTC Desire" render preset (I also noticed it happens with the iPhone one),
- Click the Render button, notice the "Rendering" dialog appears and shows "Estimating", but it does nothing. If I click the Render button without selecting a preset, it renders fine. The following stacktrace appears in the console:
$ bin/pitivi ../tmp/Untitled2.xptv
Traceback (most recent call last):
File "pitivi/ui/encodingdialog.py", line 696, in _renderButtonClickedCb
self.startAction()
File "pitivi/actioner.py", line 151, in startAction
self.addAction()
File "pitivi/actioner.py", line 102, in addAction
self.action = self._createAction(sources)
File "pitivi/actioner.py", line 230, in _createAction
self.have_video, self.have_audio)
File "pitivi/settings.py", line 605, in export_settings_to_render_settings
astream = get_stream_for_caps(export.getAudioCaps())
File "pitivi/stream.py", line 345, in get_stream_for_caps
log.debug("stream", "caps:%s, pad:%r" % (caps.to_string(), pad))
AttributeError: 'NoneType' object has no attribute 'to_string'
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=658307