GNOME Bugzilla – Bug 671079
[PATCH] on fedora, installing gstreamer-plugins-entrans causes pitivi to fail to start
Last modified: 2012-03-30 01:16:46 UTC
Created attachment 208708 [details] Ignore unknown stream types at startup On fedora 16, if I have the gstreamer-plugins-entrans package installed, pitivi from git fails to start: Traceback (most recent call last):
+ Trace 229767
_run_pitivi()
sys.exit(ptv.main(sys.argv))
ptv = StartupWizardGuiPitivi(debug=options.debug)
FullGuiPitivi.__init__(self, debug)
InteractivePitivi.__init__(self, debug)
Pitivi.__init__(self)
self.effects = EffectsHandler()
self._setAllEffects()
added = self.addStreams(element_factory, effect)
stream = get_stream_for_pad(pad)
stream.pad_id = pad_id
The problem is that the entrans package causes pitivi to see a stream with stream_type == "application", which get_stream_for_caps doesn't explicitly handle.
This is an unfortunate issue since the root cause is non obvious, so it makes pitivi look bad. I'm sure most people aren't actually using the gstreamer entrans package for anything, and just ended up in this situation due to yum install gstreamer-plugins\* which is what I did :)
Hi Cole, I installed gstreamer-plugins-entrans (on Fedora 16) and started pitivi without problems on the "ges" branch (haven't tried master, I suspect the bug occurs only there). Also, I've done: git grep get_stream_for_pad pitivi/ git grep stream pitivi/effects.py git grep PAD_SINK pitivi/ ...and it seems like the offending code is gone completely, which makes me think that it would not be an issue in the next release. If you have time, perhaps you can check out the ges version and see if it's still a problem (see http://wiki.pitivi.org/wiki/Building_with_GES). As it stands, the ges version is the only development focus.
Also, I wanted to say thanks for the patch/kind attention you give to pitivi :)
Cool, if it's fixed in ges branch/next major version that's fine with me. Though if yall are planning on continuing 0.15.x releases it might make sense to apply my patch or a similar change to master so other distros pick it up, I recalling finding a debian bz for this issue as well.