diff options
| author | Manuel Bentele | 2022-09-30 15:55:56 +0200 |
|---|---|---|
| committer | Manuel Bentele | 2022-12-06 11:55:47 +0100 |
| commit | a6712b19b1729110f7e06146c4f7bc1aa8263145 (patch) | |
| tree | 60ea7703bd9e55ad592d06f6ae4453070430d229 /qapi | |
| parent | Revert "hw/loongarch/virt: Add cfi01 pflash device" (diff) | |
| download | qemu-spice_video_codecs.tar.gz qemu-spice_video_codecs.tar.xz qemu-spice_video_codecs.zip | |
spice: Add option to set preference order for video codecsspice_video_codecs
This patch adds the following SPICE related option to set the preference
order for video codecs used for video streaming:
video-codecs=[auto|<encoder>:<codec>[;<encoder2>:<codec2>]]
The option accepts a semicolon separated list of encoder/codec pairs
to try, in preference order, where the option value 'auto' selects the
default preference order. Default preference order is 'spice:mjpeg'.
Diffstat (limited to 'qapi')
| -rw-r--r-- | qapi/ui.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi/ui.json b/qapi/ui.json index 0abba3e930..42e73ac7d6 100644 --- a/qapi/ui.json +++ b/qapi/ui.json @@ -304,6 +304,8 @@ # - 'spice' uses SASL or direct TLS authentication, depending on command # line options # +# @video-codecs: Video codecs used by the SPICE server. +# # @mouse-mode: The mode in which the mouse cursor is displayed currently. Can # be determined by the client or the server, or unknown if spice # server doesn't provide this information. (since: 1.1) @@ -315,7 +317,8 @@ { 'struct': 'SpiceInfo', 'data': {'enabled': 'bool', 'migrated': 'bool', '*host': 'str', '*port': 'int', '*tls-port': 'int', '*auth': 'str', '*compiled-version': 'str', - 'mouse-mode': 'SpiceQueryMouseMode', '*channels': ['SpiceChannel']}, + '*video-codecs': 'str', 'mouse-mode': 'SpiceQueryMouseMode', + '*channels': ['SpiceChannel']}, 'if': 'CONFIG_SPICE' } ## |
