GNOME Bugzilla – Bug 583432
importer hangs when importing a clip with subtitles
Last modified: 2009-05-21 16:43:21 UTC
When I (apparently) try to import a clip with embedded subtitles the importer gives this stacktrace and keeps on spinning: Traceback (most recent call last):
+ Trace 215631
self._finishAnalysis()
self.emit('discovery-done', self.current_uri, factory)
*args, **kwargs)
res = cb(*ar, **kw)
self.addFactory(factory.name, factory)
self.emit("file_added", factory)
self._addFactory(factory)
beautify_factory(factory),
streams.sort(key=stream_sort_key)
return ranks[type(stream)]
Created attachment 135083 [details] [review] Fix text support Wim, could you try this patch ?
this patch works, but putting the media to the timeline now gives this series of stacktraces when hovegin over the timeline: ERROR [26775] [0x7fca38f606f0] "<Timeline at 0x2c35c50>" timeline May 21 13:59:24 _errorObject: Couldn't find a complete stream mapping (self:2 < factory:3) (pitivi/log/loggable.py:30) Traceback (most recent call last):
+ Trace 215634
self._add_temp_source()
for factory in self._factories]
raise TimelineError() pitivi.timeline.timeline.TimelineError
Created attachment 135095 [details] [review] fix
The ui/sourcelist.py code should stay the same as in my original patch (i.e. if it's not one of the know stream types, bump it to 2). Apart from that it's ok for me.
commit 9c2e2f98bb66c7362111075f1274aeb2c22fbc24 Author: Alessandro Decina <alessandro.d@gmail.com> Date: Thu May 21 17:52:58 2009 +0200 Allow importing multi-audio or multi-video clips. Be less strict in mapping streams to tracks for now, adding the first stream each kind to the timeline.