Commit Graph

11 Commits

Author SHA1 Message Date
Victor Toso
a3dd27e0ef spicy: add gstreamer options to command line
So we can see all available options with spicy --help-gst and set them
as command line argument.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2017-05-23 15:36:53 +02:00
Victor Toso
a12a815127 Revert "spicy: improve status label with stream information"
This reverts commit 9a7ae78aa9.

As we are going to revert 00f56647a9 "channel-display: new
stream-video-codec-type property"

Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Marc-André Lureau <mlureau@redhat.com>
2017-03-13 13:33:27 +01:00
Victor Toso
9a7ae78aa9 spicy: improve status label with stream information
By using stream-video-codec-type property, we can display which
video-codec is being used.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2017-03-13 11:33:34 +01:00
Victor Toso
d4fb0faf1b spicy: keep status of mouse/agent on server mode
So we can still check the agent status even in server mode.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2017-03-13 11:33:29 +01:00
Victor Toso
ecb4de2705 spicy: use gboolean for GtkSettings properties
As gboolean is 4 bytes long while bool is 1 byte, valgrind will complain
about it.

Invalid write of size 4
   at 0xAE9F4FB: value_lcopy_boolean (gvaluetypes.c:78)
   by 0xAE7CFD3: g_object_get_valist (gobject.c:2236)
   by 0xAE7D40B: g_object_get (gobject.c:2324)
   by 0x40758F: keyboard_grab_cb (spicy.c:566)
   by 0xAE753E4: g_closure_invoke (gclosure.c:804)
   by 0xAE87431: signal_emit_unlocked_R (gsignal.c:3635)
   by 0xAE9005E: g_signal_emit_valist (gsignal.c:3391)
   by 0xAE9043E: g_signal_emit (gsignal.c:3447)
   by 0x4E4A6FB: try_keyboard_grab (spice-widget.c:889)
   by 0x4E4CAB1: focus_in_event (spice-widget.c:1834)
   by 0x9325E70: _gtk_marshal_BOOLEAN__BOXEDv (gtkmarshalers.c:131)
   by 0xAE75561: _g_closure_invoke_va (gclosure.c:867)

Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2017-03-06 17:12:15 +01:00
Pavel Grunt
9c133dcde4 spicy: Add dialog for precise resizing
It helps when testing whether the guest resizes to requested resolution

Acked-by: Victor Toso <victortoso@redhat.com>
2017-03-06 09:49:30 +01:00
Francois Gouget
fa73ff2783 spicy: Spicy uses GTK+ and must link with it
This avoids having the linker complain that gtk_toggle_action_get_type()
or some other GTK+ API is undefined.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2017-02-27 09:33:41 +01:00
Francois Gouget
0c6a871b08 spicy-stats: spicy-stats uses libgobject so link with it
This avoids having the linker complain that g_signal_connect_data() or
some other GObject API is undefined.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2017-02-27 09:33:41 +01:00
Jonathon Jongsma
4d3e78993c Spicy: cancel file transfer when dialog is closed
Clicking the 'X' to close the file transfer dialog did not actually
cancel the ongoing file transfer, and resulted in a bunch of critical
warnings on the terminal. Make the delete-event explicitly cancel all
ongoing file transfers.
2017-02-08 09:25:51 -06:00
Victor Toso
44f195206f spicy: implement preferred video codec type
Similar to preferred video compression, a radio button showing mjpeg,
vp8, vp9 and h264 in case server has the proper [0] capability

[0] SPICE_DISPLAY_CAP_PREF_VIDEO_CODEC_TYPE

Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2017-02-08 11:46:20 +01:00
Victor Toso
47e37e7c9d Move spicy tools to its own folder
So we can have the tools and the libraries in different folders.

In the src/Makefile.am I've only removed the lines related to the
tools but not all lines were copied into tools/Makefile.am as we
don't really need them. Other lines were adjusted to have the paths
correctly;

Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2017-01-23 09:30:47 +01:00