> > From: Victor Toso <me@xxxxxxxxxxxxxx> > > The gst_opts[] array was moved to the -priv.h header > inc96af50e2dd16b02b189e8 - Let's use it to improve debug messages. > > Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx> > --- > src/channel-display.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/channel-display.c b/src/channel-display.c > index dece3b9..dc550f9 100644 > --- a/src/channel-display.c > +++ b/src/channel-display.c > @@ -657,7 +657,7 @@ void > spice_display_channel_change_preferred_video_codec_type(SpiceChannel *chann > * decoding, store this information (as GArray) and send it to the > server. > * This array can be rearranged to have @codec_type in the front (which > is > * the preferred for the client side) */ > - CHANNEL_DEBUG(channel, "changing preferred video codec type to %d", > codec_type); > + CHANNEL_DEBUG(channel, "changing preferred video codec type to %s", > gst_opts[codec_type].name); > codecs = g_array_new(FALSE, FALSE, sizeof(gint)); > g_array_append_val(codecs, codec_type); > spice_display_send_client_preferred_video_codecs(channel, codecs); Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx> Frediano _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel