[spice-gtk v1 0/6] Initialize GStreamer on SpiceSession

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Victor Toso <me@xxxxxxxxxxxxxx>

Hi,

Considering that we depend on GStreamer, let's move the initialization
to SpiceSession so we can guarantee one init and one deinit on spice-gtk
level. Works as well if gst_init() was called outside spice-gtk.

Tested with spicy which does call gst_init() and gst_deinit() and with
remote-viewer that don't call any gstreamer function at all.

Some other improvements, leak fix and possible test as well.

CI: https://gitlab.freedesktop.org/victortoso/spice-gtk/pipelines/60612

Cheers,

Victor Toso (6):
  session: initialize gstreamer once
  display-gst: rely on SpiceSession init of GStreamer
  gstaudio: rely on SpiceSession init of GStreamer
  session: gst_deinit() GStreamer if we initialize it
  spice-gstaudio: fix GTask leak on query for volume
  RFC: test: session: gstreamer init by us or client

 src/channel-display-gst.c | 23 ++++-----------
 src/spice-gstaudio.c      | 61 +++++++++++++++++++--------------------
 src/spice-session.c       | 30 +++++++++++++++++++
 tests/session.c           | 49 +++++++++++++++++++++++++++++++
 4 files changed, 113 insertions(+), 50 deletions(-)

-- 
2.21.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]