Codec preference selection

Submitted by Christophe de Dinechin on June 19, 2018, 2:18 p.m.

Details

Message ID 1BE5F968-ED0F-4655-BA86-FF01A44F6537@redhat.com
State New
Headers show

Not browsing as part of any series.

Patch hide | download patch | download mbox

diff --git a/spice/enums.h b/spice/enums.h
index 9eaf25c..c7ff5a7 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -163,7 +163,11 @@  typedef enum SpiceVideoCodecType {
     SPICE_VIDEO_CODEC_TYPE_H264,
     SPICE_VIDEO_CODEC_TYPE_VP9,
 
-    SPICE_VIDEO_CODEC_TYPE_ENUM_END
+    SPICE_VIDEO_CODEC_TYPE_ENUM_END,
+
+    // Add this flag if the codec is implemented in hardware
+    SPICE_VIDEO_CODEC_TYPE_HW = (1 << 30)
+
 } SpiceVideoCodecType;
 
 typedef enum SpiceStreamFlags {