[vlc-devel] [PATCH] video_output: remove assertion on display

Alexandre Janniaux ajanni at videolabs.io
Tue Jun 30 11:00:43 CEST 2020


We don't need a display to change rate.
---
 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 e927823d4cd..96b0fad0dd6 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1464,7 +1464,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.27.0



More information about the vlc-devel mailing list