[Spice-devel] [spice-gtk][PATCH] spice-gtk: Fixed build when using audio gstreamer

Lukas Venhoda lvenhoda at redhat.com
Tue May 12 05:51:41 PDT 2015


Commit No. 63bf00275769928850113b4df205df08d6303b45 changed number of
arguments of function playback_stop(), and didn't change call of this
function on line 628.

This would break building when using --with-audio=gstreamer
---
 gtk/spice-gstaudio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtk/spice-gstaudio.c b/gtk/spice-gstaudio.c
index 99d12b1..1623421 100644
--- a/gtk/spice-gstaudio.c
+++ b/gtk/spice-gstaudio.c
@@ -625,7 +625,7 @@ static gboolean spice_gstaudio_get_playback_volume_info_finish(SpiceAudio *audio

     if (fake_channel) {
         SPICE_DEBUG("Stop faked PlaybackChannel");
-        playback_stop(NULL, audio);
+        playback_stop(SPICE_GSTAUDIO(audio));
     }

     if (mute != NULL) {
--
2.4.0



More information about the Spice-devel mailing list