Comment 3 for bug 1031439

Revision history for this message
James M. Leddy (jm-leddy) wrote : Re: transcoding fails to start: NameError: global name 'Gst' is not defined

That's odd, there is something half-comipling the script, and changing Gst->gst

> if self.container != False:
> self.containercaps = gst.Caps(codecfinder.containermap[CONTAINERCHOICE])
> # special case mp3 which is a no-container format with a container (id3mux)
> else:
> if self.audiocaps.intersect(gst.Caps("audio/mpeg, mpegversion=1, layer=3")):
> self.containercaps=gst.Caps("application/x-id3")
> self.container=gst.Caps("application/x-id3")
>
> # set preset directory
> Gst.preset_set_app_dir("/usr/share/transmageddon/presets/")

When Gst is changed to gst this works.