[winswitch] PATCH: Small bug in main script

Antoine Martin antoine at nagafix.co.uk
Sat Dec 31 12:25:47 GMT 2016


On 31/12/16 06:57, Timothy Hobbs via shifter-users wrote:
> As per my last email, I haven't tested this fix yet, but it is so small
> that I'm pretty confident non-the-less...
> 
> I see bad output when I run xpra start with --speaker-codec=help. Patch
> to fix the problem is bellow.
Both of your fixes have been applied:
https://xpra.org/trac/changeset/14669
https://xpra.org/trac/changeset/14670
And applied to the v1.0.x branch:
https://xpra.org/trac/changeset/14671

Many thanks!
Antoine


> 
> $xpra start --speaker-codec=help
> Warning: failed to import GStreamer:
>  GStreamer 1.0: Namespace Gst not available
>  GStreamer 0.10: No module named pygst
> s
> o
> u
> n
> d
> 
> i
> s
> 
> n
> o
> t
> 
> s
> u
> p
> p
> o
> r
> t
> e
> d
> 
> -
> 
> g
> s
> t
> r
> e
> a
> m
> e
> r
> 
> n
> o
> t
> 
> p
> r
> e
> s
> e
> n
> t
> 
> o
> r
> 
> n
> o
> t
> 
> a
> c
> c
> e
> s
> s
> i
> b
> l
> e
> 
> 
> Index: trunk/src/xpra/scripts/main.py
> ===================================================================
> --- trunk/src/xpra/scripts/main.py    (revision 14666)
> +++ trunk/src/xpra/scripts/main.py    (working copy)
> @@ -1020,7 +1020,7 @@
>      from xpra.sound.wrapper import query_sound
>      props = query_sound()
>      if not props:
> -        return "sound is not supported - gstreamer not present or not
> accessible"
> +        return ["sound is not supported - gstreamer not present or not
> accessible"]
>      info = []
>      all_speaker_codecs = props.strlistget("decoders")
>      invalid_sc = [x for x in speaker_codecs if x not in
> all_speaker_codecs]
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users




More information about the shifter-users mailing list