[Spice-devel] [RFC spice-gtk v2 0/1] Direct rendering
Snir Sheriber
ssheribe at redhat.com
Sun Apr 15 09:10:28 UTC 2018
Differences from v1
-Recognize streaming mode by the streaming-mode surface flag
-Modifying the streaming mode signal
-Applying patches from Frediano (sent on v1 thread)
-Applying Uri's patch fixing a memory leak
-This feature can forced to be disabled now by setting the
DISABLE_GSTVIDEOOVERLAY environment variable
-Does not create a new drawing area
Some issues
- Canvas is allocated although it's not always used
- Needs to be tested with different plugins, environments...
- Not sure what is needed in order to make it to support
multi-monitor in the future.
- Currently works only with x (xid is transferred from
spice-widget to spice-gst-decoder which sets the overlay)
- There is no synchronization with audio! (decodes and
renders AFAP)
I'd be happy to hear more comments, ideas, patches :)
Thanks, Snir.
Snir Sheriber (1):
Gstreamer: Use GstVideoOverlay if possible
src/channel-display-gst.c | 99 ++++++++++++++++++++++++++++++++++++++---------
src/channel-display.c | 55 ++++++++++++++++++++++++++
src/channel-display.h | 3 ++
src/spice-widget-priv.h | 1 +
src/spice-widget.c | 40 ++++++++++++++++++-
5 files changed, 179 insertions(+), 19 deletions(-)
--
2.14.3
More information about the Spice-devel
mailing list