display-channel: Make video-codecs property read-write

Enterprise / Virtualization / SPICE - Victor Toso [victortoso.com] - 6 December 2016 07:47 EST

This patch creates display_channel_get_video_codecs() helper to let stream.c get the video-codecs without accessing the internal structure of DisplayChannel.

As video-codecs is a property of DisplayChannel, this change means making this property readable as well.

f007c0a display-channel: Make video-codecs property read-write
server/display-channel.c | 12 +++++++++++-
server/display-channel.h | 1 +
server/stream.c | 6 ++++--
3 files changed, 16 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share