[Spice-devel] [spice-server 1/2] gstreamer: Remove unused function
Christophe Fergeau
cfergeau at redhat.com
Wed Feb 15 08:39:49 UTC 2017
rate_control_is_active() is static and not used in gstreamer-encoder.c
---
server/gstreamer-encoder.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c
index 5c60a64..dd2926d 100644
--- a/server/gstreamer-encoder.c
+++ b/server/gstreamer-encoder.c
@@ -347,11 +347,6 @@ static uint32_t get_network_latency(SpiceGstEncoder *encoder)
encoder->cbs.get_roundtrip_ms(encoder->cbs.opaque) / 2 : 0;
}
-static inline int rate_control_is_active(SpiceGstEncoder* encoder)
-{
- return encoder->cbs.get_roundtrip_ms != NULL;
-}
-
static void set_pipeline_changes(SpiceGstEncoder *encoder, uint32_t flags)
{
encoder->set_pipeline |= flags;
--
2.9.3
More information about the Spice-devel
mailing list