[winswitch] PATCH: Small bug in main script
Timothy Hobbs
timothy at hobbs.cz
Sat Dec 31 09:39:51 GMT 2016
I have now tested this patch and can confirm that it works properly :)
On 12/31/2016 12:57 AM, 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.
>
> $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