From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx> Author: Marc-André Lureau <marcandre.lureau@xxxxxxxxx> --- server/stream.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/stream.c b/server/stream.c index 4d078de..bd56601 100644 --- a/server/stream.c +++ b/server/stream.c @@ -596,8 +596,7 @@ static void dcc_update_streams_max_latency(DisplayChannelClient *dcc, StreamAgen dcc->streams_max_latency = new_max_latency; } -static uint64_t red_stream_get_initial_bit_rate(DisplayChannelClient *dcc, - Stream *stream) +static uint64_t get_initial_bit_rate(DisplayChannelClient *dcc, Stream *stream) { char *env_bit_rate_str; uint64_t bit_rate = 0; @@ -712,7 +711,7 @@ void dcc_create_stream(DisplayChannelClient *dcc, Stream *stream) mjpeg_cbs.get_source_fps = red_stream_mjpeg_encoder_get_source_fps; mjpeg_cbs.update_client_playback_delay = red_stream_update_client_playback_latency; - initial_bit_rate = red_stream_get_initial_bit_rate(dcc, stream); + initial_bit_rate = get_initial_bit_rate(dcc, stream); agent->mjpeg_encoder = mjpeg_encoder_new(initial_bit_rate, &mjpeg_cbs, agent); } else { agent->mjpeg_encoder = mjpeg_encoder_new(0, NULL, NULL); -- 2.5.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel