> > From: Victor Toso <me@xxxxxxxxxxxxxx> > > Client might want to choose a preferred video codec for streaming for > different reasons which having hardware decoder support being the most > interest one. > > This message allows the client to send a list of video codecs in a > order of preference. > > Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx> I would swap the 1/11 2/11 order. Frediano > --- > spice/enums.h | 1 + > spice/protocol.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/spice/enums.h b/spice/enums.h > index 743a4a8..0420da9 100644 > --- a/spice/enums.h > +++ b/spice/enums.h > @@ -529,6 +529,7 @@ enum { > SPICE_MSGC_DISPLAY_STREAM_REPORT, > SPICE_MSGC_DISPLAY_PREFERRED_COMPRESSION, > SPICE_MSGC_DISPLAY_GL_DRAW_DONE, > + SPICE_MSGC_DISPLAY_PREFERRED_VIDEO_CODEC_TYPE, > > SPICE_MSGC_END_DISPLAY > }; > diff --git a/spice/protocol.h b/spice/protocol.h > index d742eda..657d835 100644 > --- a/spice/protocol.h > +++ b/spice/protocol.h > @@ -141,6 +141,7 @@ enum { > SPICE_DISPLAY_CAP_CODEC_MJPEG, > SPICE_DISPLAY_CAP_CODEC_VP8, > SPICE_DISPLAY_CAP_CODEC_H264, > + SPICE_DISPLAY_CAP_PREF_VIDEO_CODEC_TYPE, > }; > > enum { _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel