Package: xpra / 0.17.6+dfsg-1

conf-default-codec-order.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Last-Update: 2016-08-29
Forwarded: not-needed
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: change audio codec (priority) order to match priority of
 gstreamer plugins packages alternatives:
  base(vorbis); good(wavpack, wav, flac, speex); ugly(mp3); bad(opus).

--- a/xpra/sound/gstreamer_util.py
+++ b/xpra/sound/gstreamer_util.py
@@ -198,9 +198,9 @@
         SPEEX       : 0,
         SPEEX_GDP   : 0,
        }
 
-CODEC_ORDER = [OPUS, VORBIS_MKA, FLAC, MP3, WAV, WAVPACK, SPEEX, OPUS_GDP, VORBIS, FLAC_GDP, SPEEX_GDP]
+CODEC_ORDER = [VORBIS_MKA, VORBIS, FLAC, FLAC_GDP, WAV, WAVPACK, SPEEX, SPEEX_GDP, MP3, OPUS, OPUS_GDP]
 
 
 gst = None
 has_gst = None