GNOME Bugzilla – Bug 584135
"No audio" gets changed to some audio improperly; handle properly timelines without audio or without video
Last modified: 2010-02-21 12:55:32 UTC
Please describe the problem: Pitivi changes an option without the users consent Steps to reproduce: 1. Add ogg to timeline, no audio 2. Go to render - says "no audio" for audio. ok. 3. Go to "modify" and OK - now there is some audio! While we did not add it. Actual results: Expected results: Does this happen every time? Other information: video: http://drop.io/hdf5xso
*** Bug 597830 has been marked as a duplicate of this bug. ***
Also fails with 0.13.3 and git
Retitling for clarity, because if you try to render without audio, pitivi will hang trying to render (Bug #597830). In cases like that, pitivi should automatically disable rendering the audio (partly related to bug #590639, but not a duplicate since that one requests a UI feature for overriding pitivi's detection).
commit 22d4ecf784c9094ff7118f981953c7064a818e3f Author: Alessandro Decina <alessandro.d@gmail.com> Date: Sun Feb 21 01:00:42 2010 +0100 In the encoding dialog, show "no audio" if audio isn't available. Fixes #584135. commit 23ec69353ceb2f7a40a00c8dd7c5e95558559be7 Author: Alessandro Decina <alessandro.d@gmail.com> Date: Sun Feb 21 00:53:00 2010 +0100 Make rendering video only or audio only work again. Partly fixes #584135.
I think you forgot to test :) This is what happens when accessing the rendering dialog in pitivi git now: Traceback (most recent call last):
+ Trace 220658
self.showEncodingDialog(self.project)
win = EncodingDialog(self, project)
self.detectStreamTypes()
assert isinstance(timeline_source, TimelineSourceFactory) AssertionError
dialog = ExportSettingsDialog(self.app, self.settings)
And if you try to click the Close button: Traceback (most recent call last): File "pitivi/ui/encodingdialog.py", line 174, in _cancelButtonClickedCb self._shutDown() File "pitivi/ui/encodingdialog.py", line 87, in _shutDown self.removeRecordAction() File "pitivi/ui/encodingdialog.py", line 221, in removeRecordAction self.debug("renderaction %r", self.renderaction) AttributeError: 'EncodingDialog' object has no attribute 'renderaction'
commit 9853b5cdeab9ebd05cbcc583969ae1c685ff20f6 Author: Alessandro Decina <alessandro.d@gmail.com> Date: Sun Feb 21 13:40:52 2010 +0100 Some more fixes for #584135.