diff --git a/opt/vc/src/hello_pi/hello_video/video.c b/opt/vc/src/hello_pi/hello_video/video.c index 1fec69df59ff..2edf44cf6d8c 100644 --- a/opt/vc/src/hello_pi/hello_video/video.c +++ b/opt/vc/src/hello_pi/hello_video/video.c @@ -183,7 +183,7 @@ static int video_decode_test(char *filename) // wait for EOS from render ilclient_wait_for_event(video_render, OMX_EventBufferFlag, 90, 0, OMX_BUFFERFLAG_EOS, 0, - ILCLIENT_BUFFER_FLAG_EOS, 10000); + ILCLIENT_BUFFER_FLAG_EOS, -1); // need to flush the renderer to allow video_decode to disable its input port ilclient_flush_tunnels(tunnel, 0);