[vlc-devel] [PATCH 10/11] vout: vout_ChangeRate: remove display assert

Thomas Guillem thomas at gllm.fr
Tue Jun 30 17:27:21 CEST 2020


From: Alexandre Janniaux <ajanni at videolabs.io>

We don't need a display to change rate.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>
---
 src/video_output/video_output.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 974c40573ca..288f273e613 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1465,7 +1465,6 @@ void vout_ChangeRate(vout_thread_t *vout, float rate)
 {
     vout_thread_sys_t *sys = vout->p;
     assert(!sys->dummy);
-    assert(sys->display);
 
     vout_control_Hold(&sys->control);
     sys->rate = rate;
-- 
2.20.1



More information about the vlc-devel mailing list