[vlc-commits] vout: vout_ChangeRate: remove display assert

Alexandre Janniaux git at videolan.org
Mon Jul 6 08:48:00 CEST 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Tue Jun 30 11:00:43 2020 +0200| [71a423f2d4f1a360893cb2303913d35f253450e3] | committer: Thomas Guillem

vout: vout_ChangeRate: remove display assert

We don't need a display to change rate.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71a423f2d4f1a360893cb2303913d35f253450e3
---

 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 974c40573c..288f273e61 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;



More information about the vlc-commits mailing list